[FFmpeg-cvslog] avformat/yuv4mpegdec: increase header limit

Gyan Doshi git at videolan.org
Sun Jan 26 18:20:24 EET 2020


ffmpeg | branch: master | Gyan Doshi <ffmpeg at gyani.pro> | Sun Jan 26 21:10:48 2020 +0530| [0b1ff3265e9bdad3b4b6b97ced2f126cb3599568] | committer: Gyan Doshi

avformat/yuv4mpegdec: increase header limit

Allows demuxing UHD 30000/1001 fps yuvj420p files

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0b1ff3265e9bdad3b4b6b97ced2f126cb3599568
---

 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
 #define MAX_FRAME_HEADER 80
 
 static int yuv4_read_header(AVFormatContext *s)



More information about the ffmpeg-cvslog mailing list