[FFmpeg-devel] [PATCH] remove AltiVec vector declaration syntax macros

Diego Biurrun diego
Tue Jul 22 19:46:08 CEST 2008


On Tue, Jul 22, 2008 at 10:00:17AM -0400, compn wrote:
> On Sun, 20 Jul 2008 23:12:12 +0200, Diego Biurrun wrote:
> >The topic braces vs. parentheses in AltiVec vector declaration syntax
> >came up again recently.  AFAIU the conclusion was that complicating the
> >code with macros to hide compiler idiosyncracies was no longer worth it.
> >
> >So here is a patch that simplifies the code and gets rid of those
> >macros.
> >
> >The only compiler that is negatively affected is Apple gcc 3.3 (and
> >possibly earlier versions).  This compiler is used on Mac OS X 10.3,
> >but gcc 4.0 is available as alternative there.
> 
> i got a report from a user that ps3 gcc 4.1.2 also has problems
> with current altivec macros.

Does it work with my patch applied?

There is also issue 422 on roundup, which may or may not be related.

Diego




More information about the ffmpeg-devel mailing list