This patched fixes building of ffmpeg 0.5.5-1 on powerpc for me.
It matches what the code is now like in newer versions of ffmpeg.

diff -urN ffmpeg-0.5.5/libavcodec/cavs.h 
ffmpeg-0.5.5.powerpcfix/libavcodec/cavs.h
--- ffmpeg-0.5.5/libavcodec/cavs.h      2011-11-05 07:57:22.000000000 -0400
+++ ffmpeg-0.5.5.powerpcfix/libavcodec/cavs.h   2011-11-08 16:27:24.051972526 
-0500
@@ -136,7 +136,7 @@
   MV_BWD_X3
 };
 
-DECLARE_ALIGNED_8(typedef, struct) {
+DECLARE_ALIGNED(8, typedef, struct) {
     int16_t x;
     int16_t y;
     int16_t dist;


So not much to the patch.  Compiles on squeeze for me.

Haven't looked at the armel one yet, but I probably could.

-- 
Len Sorense



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to