mpegvideo: increase MAX_PICTURE_NUMBER.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 19 Nov 2012 00:36:55 +0000 (01:36 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 19 Nov 2012 00:38:06 +0000 (01:38 +0100)
avoid abort().

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpegvideo.h

index e242bbb..b366899 100644 (file)
@@ -60,7 +60,7 @@ enum OutputFormat {
 
 #define MAX_THREADS 32
 
-#define MAX_PICTURE_COUNT 32
+#define MAX_PICTURE_COUNT 34
 
 #define ME_MAP_SIZE 64
 #define ME_MAP_SHIFT 3