diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-25 00:15:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-22 00:21:27 +0200 |
commit | f741c39752a001f47e6c5228ed24e11c8cafaf64 (patch) | |
tree | 2ba5952abc4cff73648716b4910b86a96b6f316c | |
parent | af1bf7f2772a7a9c2af511c7e933500f0361878d (diff) | |
download | ffmpeg-f741c39752a001f47e6c5228ed24e11c8cafaf64.tar.gz |
avcodec/x86/mpegvideoenc_template: fix integer overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/x86/mpegvideoenc_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/mpegvideoenc_template.c b/libavcodec/x86/mpegvideoenc_template.c index 47c3b43f94..2506ba0fe3 100644 --- a/libavcodec/x86/mpegvideoenc_template.c +++ b/libavcodec/x86/mpegvideoenc_template.c @@ -216,7 +216,7 @@ static int RENAME(dct_quantize)(MpegEncContext *s, "psubusw "MM"1, "MM"4 \n\t" "packuswb "MM"4, "MM"4 \n\t" #if COMPILE_TEMPLATE_SSE2 - "packuswb "MM"4, "MM"4 \n\t" + "packsswb "MM"4, "MM"4 \n\t" #endif "movd "MM"4, %0 \n\t" // *overflow : "=g" (*overflow) |