diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-09 16:25:12 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-09 16:26:52 +0200 |
commit | c03dc44070cd57f4375e45ac4d5663de3bc0642a (patch) | |
tree | 2e7307051b9004b4e69d127ad593f68d9edc91c1 /libavcodec/msmpeg4.c | |
parent | 4e0130faed10fe9bd28e5d149b099c9b55612145 (diff) | |
download | ffmpeg-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.c | 6 |
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]) |