[FFmpeg-devel] [PATCH] h264_slice: Copy the value of x264_build before calling h264_slice_header_init during thread init

Tristan Matthews tmatth at videolan.org
Tue Oct 9 23:39:29 EEST 2018


On Tue, Oct 9, 2018 at 10:15 AM Derek Buitenhuis
<derek.buitenhuis at gmail.com> wrote:
>
> On 08/10/2018 16:36, Derek Buitenhuis wrote:
> > If we don't copy this value first, it is seen as 0 by h264_slice_header_init,
> > due to zero-allocation of the new context, triggering an old hack that
> > multiplied the denominator by 2 for files produced by old x264 versions, but
> > only if more than one thread was used.
> >
> > Fixes #7475.
> >
> > Signed-off-by: Derek Buitenhuis<derek.buitenhuis at gmail.com>
> > ---
> >   libavcodec/h264_slice.c | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
>
> Pushed, thanks.
>
> - Derek
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

BTW, looks like this bug isn't present in 4.0.2.

Best,
-t


More information about the ffmpeg-devel mailing list