[FFmpeg-devel] [PATCH] silence some defined but not used warnings

Diego Biurrun diego
Wed Sep 3 00:36:46 CEST 2008


On Fri, Aug 29, 2008 at 12:22:39AM +0200, Diego Biurrun wrote:
> Since some time I'm being annoyed by
> 
> libavcodec/cabac.h:585: warning: 'get_cabac_noinline' defined but not used
> libavcodec/cabac.h:589: warning: 'get_cabac' defined but not used
> libavcodec/cabac.h:593: warning: 'get_cabac_bypass' defined but not used
> libavcodec/cabac.h:692: warning: 'get_cabac_terminate' defined but not used
> 
> so here is a patch to silence the warnings via attribute_used.

I'm hearing no objections, so this will hit the tree on the weekend.

Diego




More information about the ffmpeg-devel mailing list