summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-11-19 01:36:55 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-11-19 01:38:06 +0100
commit24c043c98ef22b9d4aa7a54ec5f1cebd21042dd7 (patch)
treed4f0607cc99e2e66fe4ac0f35d21da42fe185204 /libavcodec
parentade9960fc6f8e324c126ab4a86f2b29b3d97a674 (diff)
mpegvideo: increase MAX_PICTURE_NUMBER.
avoid abort(). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpegvideo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index e242bbbd9a..b366899930 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