Message ID | 20200126152438.3606-1-ffmpeg@gyani.pro |
---|---|
State | Accepted |
Headers | show |
Series | [FFmpeg-devel] avformat/yuv4mpegdec: increase header limit | expand |
Context | Check | Description |
---|---|---|
andriy/ffmpeg-patchwork | success | Make fate finished |
Am So., 26. Jan. 2020 um 16:25 Uhr schrieb Gyan Doshi <ffmpeg@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
On 26-01-2020 08:57 pm, Carl Eugen Hoyos wrote: > Am So., 26. Jan. 2020 um 16:25 Uhr schrieb Gyan Doshi <ffmpeg@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 Thanks. Pushed as 0b1ff3265e9bdad3b4b6b97ced2f126cb3599568 Gyan
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)