diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-02-03 20:34:56 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-02-03 20:42:30 +0100 |
commit | da1ba4e88b5bf723f8889798cb71f4e1cabb7a00 (patch) | |
tree | 986d834c61222ee3f11cab3e985e8d5c0e019475 | |
parent | ed3c0fe85dd5c228e98126b18e50ffb617e77070 (diff) | |
download | ffmpeg-da1ba4e88b5bf723f8889798cb71f4e1cabb7a00.tar.gz |
Fix NASM compilation.
movd needs explicit register size prefix for NASM.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-rw-r--r-- | libavcodec/x86/rv40dsp.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/x86/rv40dsp.asm b/libavcodec/x86/rv40dsp.asm index bff3e7b96a..c13e9f03d9 100644 --- a/libavcodec/x86/rv40dsp.asm +++ b/libavcodec/x86/rv40dsp.asm @@ -164,8 +164,8 @@ cglobal rv40_weight_func_%1, 6, 7, %2 ; Use result of test now jz .loop_512 - movd m2, r3 - movd m3, r4 + movd m2, r3d + movd m3, r4d SPLATW m2, m2 SPLATW m3, m3 @@ -178,8 +178,8 @@ cglobal rv40_weight_func_%1, 6, 7, %2 .loop_512: sar r3, 9 sar r4, 9 - movd m2, r3 - movd m3, r4 + movd m2, r3d + movd m3, r4d %if cpuflag(ssse3) punpcklbw m3, m2 SPLATW m3, m3 |