summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-16 05:51:04 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-16 05:51:04 +0100
commit5c6283e5c3bf1f690afcbcc2a75cc1c5f71f6c96 (patch)
tree103e6b61cfe280ebbd87b5ae1bff1a1663f2eaed /libavcodec/mpegvideo.h
parent2d372d3a3ffb47f734c3b00a7d030e14b405043a (diff)
mpegvideo: Increase MAX_MV for HD video
Fixes out of array reads Found-by: Thierry Foucu Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index aea2c34b25..a2320ad405 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -57,7 +57,7 @@ enum OutputFormat {
#define QMAT_SHIFT 21
#define MAX_FCODE 7
-#define MAX_MV 2048
+#define MAX_MV 4096
#define MAX_THREADS 32
#define MAX_PICTURE_COUNT 36