diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-01-17 08:41:04 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-01-17 08:41:39 +0100 |
commit | 7e62315c919d403c747fd8beebf733693571e8af (patch) | |
tree | 5d60cfb9c73e3c7975743a4d819da8f1c9764d59 | |
parent | 67f5650a78de2567c58dbd7545434cc6d3ef9b7e (diff) | |
download | ffmpeg-7e62315c919d403c747fd8beebf733693571e8af.tar.gz |
Use correct register size.
Fixes compilation with NASM.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-rw-r--r-- | libavcodec/x86/rv34dsp.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/rv34dsp.asm b/libavcodec/x86/rv34dsp.asm index 75bf1ae08a..1e152b7d68 100644 --- a/libavcodec/x86/rv34dsp.asm +++ b/libavcodec/x86/rv34dsp.asm @@ -59,7 +59,7 @@ cglobal rv34_idct_dc_add_mmx, 3, 3 ; calculate DC IDCT_DC_ROUND r2 pxor m1, m1 - movd m0, r2 + movd m0, r2d psubw m1, m0 packuswb m0, m0 packuswb m1, m1 @@ -96,7 +96,7 @@ cglobal rv34_idct_dc_add_sse4, 3, 3, 6 pxor m1, m1 ; calculate DC - movd m0, r2 + movd m0, r2d lea r2, [r0+r1*2] movd m2, [r0] movd m3, [r0+r1] |