[FFmpeg-devel] [PATCH] add some av_unused attributes

Janne Grunau janne-ffmpeg
Thu Apr 29 03:37:03 CEST 2010


On Thu, Apr 29, 2010 at 02:03:47AM +0100, M?ns Rullg?rd wrote:
> Janne Grunau <janne-ffmpeg at jannau.net> writes:
> 
> > see attached patch, still wondering why only g++ warns
> 
> That is strange.  We usually get warnings about unused static
> functions.  If you really want to know, your best bet is probably to
> reproduce the behaviour with a simple test file.

must have been my error, compiling ffmpeg with --disable-optimizations
results in thousands of "defined but not used" warnings. With my patch
it's just a couple of "warning: ?decode_mb_skip? defined but not used:".

Janne



More information about the ffmpeg-devel mailing list