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

Diego Biurrun diego
Fri Aug 29 00:22:39 CEST 2008


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.

Diego
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attribute_used.diff
Type: text/x-diff
Size: 1089 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080829/7e7a3662/attachment.diff>



More information about the ffmpeg-devel mailing list