[FFmpeg-devel] [PATCH] avformat/yuv4mpegdec: increase header limit

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Jan 26 17:27:46 EET 2020


Am So., 26. Jan. 2020 um 16:25 Uhr schrieb Gyan Doshi <ffmpeg at gyani.pro>:
>
> Allows demuxing UHD 30000/1001 fps yuvj420p files
> ---
>  libavformat/yuv4mpegdec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavformat/yuv4mpegdec.c b/libavformat/yuv4mpegdec.c
> index d7b472e6c7..ccd3da1af8 100644
> --- a/libavformat/yuv4mpegdec.c
> +++ b/libavformat/yuv4mpegdec.c
> @@ -26,7 +26,7 @@
>  #include "yuv4mpeg.h"
>
>  /* Header size increased to allow room for optional flags */
> -#define MAX_YUV4_HEADER 80
> +#define MAX_YUV4_HEADER 96

lgtm

Carl Eugen


More information about the ffmpeg-devel mailing list