[FFmpeg-cvslog] mpegvideo: increase MAX_PICTURE_NUMBER.

Michael Niedermayer git at videolan.org
Mon Nov 19 01:49:23 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Nov 19 01:36:55 2012 +0100| [24c043c98ef22b9d4aa7a54ec5f1cebd21042dd7] | committer: Michael Niedermayer

mpegvideo: increase MAX_PICTURE_NUMBER.

avoid abort().

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

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

 libavcodec/mpegvideo.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index e242bbb..b366899 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -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



More information about the ffmpeg-cvslog mailing list