[Ffmpeg-devel] [PATCH] declaration vs statements warnings in libswscale

Guillaume Poirier gpoirier
Tue Oct 31 15:24:05 CET 2006


Hi,

Diego Biurrun wrote:
> Attached patch fixes a bunch of declaration vs statement warnings in
> libswscale/swscale_altivec_template.c.

For what it's worth, these warnings can't ever cause a compilation
error, as all compilers that support Altivec intrinsics support C99.
...So all what it's going is just shut up some compiler warnings.

> I'll commit it tomorrow if there are no objections.

Again, for what it's worth, I extensively use the
declaration-in-statement" syntax in my Altivec code as it looks
cleaner to my own eyes.

So I'd prefer if the code could stay the way it is (because I'm likely
to have to read that code to get some inspiration), but it's just me.

Guillaume




More information about the ffmpeg-devel mailing list