diff options
author | Sven Gothel <[email protected]> | 2017-12-25 23:51:31 +0100 |
---|---|---|
committer | Bradley Sepos <[email protected]> | 2018-05-28 23:56:14 -0400 |
commit | 6c5faa037d2955421dd7bae44f6f5f15b9b011a2 (patch) | |
tree | f2bb7645a6c2d3662812cbca47362bd67c299e59 /libhb/muxavformat.c | |
parent | fd2241a344b141fb5f1b8ec479dbb5783826f1ce (diff) |
FFMPEG #974: Use latest FFMPEG 3.4.1 (1/2)
Patch 1/2 for https://github.com/HandBrake/HandBrake/issues/974
moving to FFMPEG 3.4.1 from LIBAV 12.2.
The re-ordering of to be linked modules was required to solve
statically linked dependencies. See libhb/module.defs etc.
Diffstat (limited to 'libhb/muxavformat.c')
-rw-r--r-- | libhb/muxavformat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c index c599dda0a..c9115cf58 100644 --- a/libhb/muxavformat.c +++ b/libhb/muxavformat.c @@ -1197,10 +1197,12 @@ static int avformatMux(hb_mux_object_t *m, hb_mux_data_t *track, hb_buffer_t *bu { pkt.flags |= AV_PKT_FLAG_KEY; } +#ifdef AV_PKT_FLAG_DISPOSABLE if (!(buf->s.flags & HB_FLAG_FRAMETYPE_REF)) { pkt.flags |= AV_PKT_FLAG_DISPOSABLE; } +#endif } else if (buf->s.frametype & HB_FRAME_MASK_KEY) { |