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

Derek Buitenhuis derek.buitenhuis at gmail.com
Tue Oct 9 17:14:55 EEST 2018


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


More information about the ffmpeg-devel mailing list