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

Diego Biurrun diego
Wed Jul 16 19:10:02 CEST 2008


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.
> >
> >Applied.
> 
> is this a new problem?
> 
> [cami:~/Desktop/mplayer/libswscale] compn% make
> gcc-3.3 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I. -W -Wall -O2 -mcpu=7450 -mtune=7450 -pipe -g3  -faltivec -mdynamic-no-pic -falign-loops=16 -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/local/include -I/usr/X11R6/include -I/opt/local/include/freetype2 -I/opt/local/include   -c -o yuv2rgb_altivec.o yuv2rgb_altivec.c

Try gcc 4.x, the 3 series sucks on PPC...

Diego




More information about the ffmpeg-devel mailing list