diff mbox series

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

Message ID 20200126152438.3606-1-ffmpeg@gyani.pro
State Accepted
Headers show
Series [FFmpeg-devel] avformat/yuv4mpegdec: increase header limit
Related show

Checks

Context Check Description
andriy/ffmpeg-patchwork pending
andriy/ffmpeg-patchwork success Applied patch
andriy/ffmpeg-patchwork success Configure finished
andriy/ffmpeg-patchwork success Make finished
andriy/ffmpeg-patchwork success Make fate finished

Commit Message

Gyan Doshi Jan. 26, 2020, 3:24 p.m. UTC
Allows demuxing UHD 30000/1001 fps yuvj420p files
---
 libavformat/yuv4mpegdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Carl Eugen Hoyos Jan. 26, 2020, 3:27 p.m. UTC | #1
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
Gyan Doshi Jan. 26, 2020, 4:22 p.m. UTC | #2
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 mbox series

Patch

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)