aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-20 22:29:03 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-27 19:43:31 +0200
commit9e9b5159e9d7469421f7c7f126a9f7639a6a79b5 (patch)
tree00c6cf8aadf9fe941975f68f237917d8a053bbcb /libavcodec/mpegvideo.h
parent9de731e9d0f415ce8c5dc1c9079490964c244867 (diff)
downloadffmpeg-9e9b5159e9d7469421f7c7f126a9f7639a6a79b5.tar.gz
mpegvideo_enc: reduce QMAT_SHIFT to avoid overflow in dnxhd
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 a27c86aa3d..560ad02098 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -53,7 +53,7 @@ enum OutputFormat {
#define MPEG_BUF_SIZE (16 * 1024)
#define QMAT_SHIFT_MMX 16
-#define QMAT_SHIFT 22
+#define QMAT_SHIFT 21
#define MAX_FCODE 7
#define MAX_MV 2048