[FFmpeg-cvslog] Use correct register size.

Reimar Döffinger git at videolan.org
Tue Jan 17 08:42:03 CET 2012


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Tue Jan 17 08:41:04 2012 +0100| [7e62315c919d403c747fd8beebf733693571e8af] | committer: Reimar Döffinger

Use correct register size.

Fixes compilation with NASM.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7e62315c919d403c747fd8beebf733693571e8af
---

 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 75bf1ae..1e152b7 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]



More information about the ffmpeg-cvslog mailing list