[FFmpeg-cvslog] mpegvideo: Increase MAX_MV for HD video
Michael Niedermayer
git at videolan.org
Wed Jan 16 06:07:26 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jan 16 05:51:04 2013 +0100| [5c6283e5c3bf1f690afcbcc2a75cc1c5f71f6c96] | committer: Michael Niedermayer
mpegvideo: Increase MAX_MV for HD video
Fixes out of array reads
Found-by: Thierry Foucu
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5c6283e5c3bf1f690afcbcc2a75cc1c5f71f6c96
---
libavcodec/mpegvideo.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index aea2c34..a2320ad 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
More information about the ffmpeg-cvslog
mailing list