Martin Storsjö <[email protected]> writes: > On Fri, 5 Oct 2012, Mans Rullgard wrote: > >> Module: libav >> Branch: master >> Commit: 642b4efaf7b3055ab4b26bda252149eb35babc4b >> >> Author: Mans Rullgard <[email protected]> >> Committer: Mans Rullgard <[email protected]> >> Date: Thu Oct 4 01:26:50 2012 +0100 >> >> ppc: fmtconvert: kill VLA in float_to_int16_interleave_altivec() >> > > This seems to have broken Apple's gcc 4.0 on PPC: > > http://fate.libav.org/powerpc-darwin9-gcc-4.0 > > /Users/martin/code/ffmpeg/libavcodec/ppc/fmtconvert_altivec.c: In > function 'float_to_int16_interleave_altivec': > /Users/martin/code/ffmpeg/libavcodec/ppc/fmtconvert_altivec.c:95: > error: argument 2 must be a 5-bit unsigned literal
All other compilers unroll the loop thus making the argument a constant. I'll fix it when I get back home and can test things on ppc. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
