[FFmpeg-devel] [PATCH] Proposed fix for GCC 3.3 compatibility on PPC/Altivec

Guillaume POIRIER poirierg
Mon Jun 11 00:27:06 CEST 2007


Hello,
Attached patch is a trivial "fix" for GCC 3.3 compatibility (yes, I'm
trying to be nice with people who still use OSX 10.3), but I have my
doubts concerning the validity of this change, though regression tests
do pass.

Graham, could you check it and tell me if it's OK?

Guillaume
-- 
Subversion has been the most pointless project ever started
  -- Linus Torvalds
-------------- next part --------------
Index: libavcodec/ppc/h264_altivec.c
===================================================================
--- libavcodec/ppc/h264_altivec.c       (revision 9275)
+++ libavcodec/ppc/h264_altivec.c       (working copy)
@@ -803,7 +803,7 @@
     register vector unsigned char mask;                                                      \
     register vector unsigned char p1mask;                                                    \
     register vector unsigned char q1mask;                                                    \
-    register vector char tc0vec;                                                             \
+    register vector unsigned char tc0vec;                                                    \
     register vector unsigned char finaltc0;                                                  \
     register vector unsigned char tc0masked;                                                 \
                                                                                              \



More information about the ffmpeg-devel mailing list