[FFmpeg-cvslog] r9333 - trunk/libavcodec/i386/dsputil_h264_template_mmx.c

mru subversion
Sat Jun 16 16:51:58 CEST 2007


Author: mru
Date: Sat Jun 16 16:51:57 2007
New Revision: 9333

Log:
correct type for {put,avg}_h264_chroma_mc2_mmx2


Modified:
   trunk/libavcodec/i386/dsputil_h264_template_mmx.c

Modified: trunk/libavcodec/i386/dsputil_h264_template_mmx.c
==============================================================================
--- trunk/libavcodec/i386/dsputil_h264_template_mmx.c	(original)
+++ trunk/libavcodec/i386/dsputil_h264_template_mmx.c	Sat Jun 16 16:51:57 2007
@@ -251,7 +251,7 @@ static void H264_CHROMA_MC4_TMPL(uint8_t
 }
 
 #ifdef H264_CHROMA_MC2_TMPL
-static void H264_CHROMA_MC2_TMPL(uint8_t *dst/*align 2*/, uint8_t *src/*align 1*/, long stride, int h, int x, int y)
+static void H264_CHROMA_MC2_TMPL(uint8_t *dst/*align 2*/, uint8_t *src/*align 1*/, int stride, int h, int x, int y)
 {
     int tmp = ((1<<16)-1)*x + 8;
     int CD= tmp*y;
@@ -297,7 +297,7 @@ static void H264_CHROMA_MC2_TMPL(uint8_t
         "sub $1, %2\n\t"
         "jnz 1b\n\t"
         : "+r" (dst), "+r"(src), "+r"(h)
-        : "m" (ff_pw_32), "r"(stride)
+        : "m" (ff_pw_32), "r"((long)stride)
         : "%esi");
 
 }




More information about the ffmpeg-cvslog mailing list