Skip to content

Commit

Permalink
libhb: include bsf.h header to fix build with FFmpeg >= 5 (HandBrake#…
Browse files Browse the repository at this point in the history
…4106)

avcodec.h stopped including bsf.h per FFmpeg commit
57b5ec6ba7df [1]. Fixes compilation error against
FFmpeg later than the mentioned commit.
[1] FFmpeg/FFmpeg@57b5ec6
  • Loading branch information
tgurr authored Jan 17, 2022
1 parent d6a73d2 commit 024fae6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libhb/decavcodec.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include "handbrake/handbrake.h"
#include "handbrake/hbffmpeg.h"
#include "handbrake/hbavfilter.h"
#include "libavcodec/bsf.h"
#include "libavfilter/avfilter.h"
#include "libavfilter/buffersrc.h"
#include "libavfilter/buffersink.h"
Expand Down
1 change: 1 addition & 0 deletions libhb/muxavformat.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
*/

#include <ogg/ogg.h>
#include "libavcodec/bsf.h"
#include "libavformat/avformat.h"
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
Expand Down

0 comments on commit 024fae6

Please sign in to comment.