diff options
author | Martin Storsjö <martin@martin.st> | 2010-12-16 08:41:17 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-12-16 08:41:17 +0000 |
commit | 4f7d2fe2e3db4283512157237c03e5ae4a2e018c (patch) | |
tree | a93fd5e1e106ffb82545b589e59f3b99429b2bc3 /libavformat/swfenc.c | |
parent | 7786c384f627b2a9de7ddd8aff3d14fca6d6f0c6 (diff) | |
download | ffmpeg-4f7d2fe2e3db4283512157237c03e5ae4a2e018c.tar.gz |
configure: Avoid warnings if av_always_inline is disabled
This macro is disabled if --enable-small or --disable-optimizations are set.
Currently, this leads to warnings about functions being defined but not used,
for functions in header files.
By defining av_always_inline as inline or as av_unused, we avoid these
warnings.
This doesn't make a normal build with --enable-small any larger,
since the compiler probably chooses not to inline these functions even
if they're marked as inline.
Originally committed as revision 26032 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/swfenc.c')
0 files changed, 0 insertions, 0 deletions