[FFmpeg-devel] [PATCH] fix libswscale+altivec+-std=gnu99 compile

compn tempn
Wed Jul 16 20:05:36 CEST 2008


On Wed, 16 Jul 2008 19:35:05 +0200, Michael Niedermayer wrote:
>On Wed, Jul 16, 2008 at 12:30:42PM -0500, compn wrote:
>> On Sun, 13 Jul 2008 18:29:00 -0400, Alexander Strange wrote:
>> >
>> >On Jul 13, 2008, at 6:05 PM, Diego Biurrun wrote:
>> >
>> >> On Sun, Jul 13, 2008 at 05:13:49PM -0400, Alexander Strange wrote:
>> >>> See subject. I tested it via cross-compile.
>> >>
>> >> I committed something similar for two files in libavcodec/ppc with
>> >> Luca's blessing, so I expect this to be OK as well.
>> >>
>> >> Diego
>> >
>> >Applied.
>> 
>> 
>> is this a new problem?
>
>did it work before the gnu99 fixes?

yes, reverting to 14128 on libavcodec/ppc/fdct_altivec.c
and 27190 on libswscale/yuv2rgb_altivec.c works.

alternatively, on irc, uoti suggested:
[12:37] <uau> what if you change the AVV() to {}?
[12:47] <Compn> yeah that seems to work
[12:53] <uau> astrange: see the above, the () do not seem to work on all the "alternate" syntax compilers after all (which one did you test?)

-compn




More information about the ffmpeg-devel mailing list