diff options
author | Michael Niedermayer | 2014-03-25 00:15:52 +0100 |
---|---|---|
committer | Michael Niedermayer | 2014-03-25 00:15:52 +0100 |
commit | c25d2cd20b7643ea2c864dea9f25eef322cf3fb2 (patch) | |
tree | e9c96df9a9236af0e0bc03043b6358514c299e92 /libavcodec | |
parent | 575b957758670d6094e9095acfcc24e4e32fc4a7 (diff) |
avcodec/x86/mpegvideoenc_template: fix integer overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-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 10012e4484..d68f9e2c8c 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) |