diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-25 00:15:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-27 11:20:56 +0100 |
commit | b40ab81d1f547057c563c6cc0fab106facc808fe (patch) | |
tree | a6b3aa58400b9dcabc52280a84be7fd5371f4a21 | |
parent | 314f055c294b1e0f5ecc2c97fe99a33c2ad7e896 (diff) | |
download | ffmpeg-b40ab81d1f547057c563c6cc0fab106facc808fe.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 0defc404fe..bbe93e8de0 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) |