diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-25 00:15:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-23 18:16:20 +0200 |
commit | 92ca3578bf405ed4c0e742c653e016258648fda9 (patch) | |
tree | ad379d810645574eca757d64a31da122124b3f53 | |
parent | 1be06c853182f9b691efe8df5ab3653d54cdd5b9 (diff) | |
download | ffmpeg-92ca3578bf405ed4c0e742c653e016258648fda9.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 1e0505ea3c..b0ba234d4b 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) |