summaryrefslogtreecommitdiff
path: root/libavcodec/msmpeg4.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-09 16:25:12 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-09 16:26:52 +0200
commitc03dc44070cd57f4375e45ac4d5663de3bc0642a (patch)
tree2e7307051b9004b4e69d127ad593f68d9edc91c1 /libavcodec/msmpeg4.c
parent4e0130faed10fe9bd28e5d149b099c9b55612145 (diff)
downloadffmpeg-c03dc44070cd57f4375e45ac4d5663de3bc0642a.tar.gz
msmpeg4: fix asm code in ff_msmpeg4_pred_dc()
Fixes first half of Ticket2414 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/msmpeg4.c')
-rw-r--r--libavcodec/msmpeg4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c
index 59771f58aa..766415efe1 100644
--- a/libavcodec/msmpeg4.c
+++ b/libavcodec/msmpeg4.c
@@ -228,13 +228,13 @@ int ff_msmpeg4_pred_dc(MpegEncContext *s, int n,
"addl %%eax, %2 \n\t"
"addl %%eax, %1 \n\t"
"addl %0, %%eax \n\t"
- "mull %4 \n\t"
+ "imull %4 \n\t"
"movl %%edx, %0 \n\t"
"movl %1, %%eax \n\t"
- "mull %4 \n\t"
+ "imull %4 \n\t"
"movl %%edx, %1 \n\t"
"movl %2, %%eax \n\t"
- "mull %4 \n\t"
+ "imull %4 \n\t"
"movl %%edx, %2 \n\t"
: "+b" (a), "+c" (b), "+D" (c)
: "g" (scale), "S" (ff_inverse[scale])