[FFmpeg-cvslog] r9265 - trunk/libavcodec/ppc/h264_altivec.c

gpoirier subversion
Sun Jun 10 00:20:24 CEST 2007


Author: gpoirier
Date: Sun Jun 10 00:20:24 2007
New Revision: 9265

Log:
minor GCC3 compile fix
(there's still 2 more, but there's burried into several levels of macros, so it's hard to narrow them down)


Modified:
   trunk/libavcodec/ppc/h264_altivec.c

Modified: trunk/libavcodec/ppc/h264_altivec.c
==============================================================================
--- trunk/libavcodec/ppc/h264_altivec.c	(original)
+++ trunk/libavcodec/ppc/h264_altivec.c	Sun Jun 10 00:20:24 2007
@@ -717,7 +717,7 @@ static inline vector unsigned char diff_
     register vector unsigned char diff = vec_subs(x, y);
     register vector unsigned char diffneg = vec_subs(y, x);
     register vector unsigned char o = vec_or(diff, diffneg); /* |x-y| */
-    o = vec_cmplt(o, a);
+    o = (vector unsigned char)vec_cmplt(o, a);
     return o;
 }
 




More information about the ffmpeg-cvslog mailing list