diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-16 05:51:04 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-16 05:51:04 +0100 |
commit | 5c6283e5c3bf1f690afcbcc2a75cc1c5f71f6c96 (patch) | |
tree | 103e6b61cfe280ebbd87b5ae1bff1a1663f2eaed /libavcodec/mpegvideo.h | |
parent | 2d372d3a3ffb47f734c3b00a7d030e14b405043a (diff) | |
download | ffmpeg-5c6283e5c3bf1f690afcbcc2a75cc1c5f71f6c96.tar.gz |
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.h | 2 |
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 |