diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-04-19 14:48:16 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-05-06 18:01:31 +0200 |
commit | 30b1961c662ffba8eb430682af24f823e80cd345 (patch) | |
tree | 830153b236a741181713b7cd336b8f5d4d714dc9 /libavcodec | |
parent | b2e92e946c0b94e3e55a2ef45453940cf14ab619 (diff) | |
download | ffmpeg-30b1961c662ffba8eb430682af24f823e80cd345.tar.gz |
Mark a number of variables only used in av_dlog() calls as av_unused.
This fixes a number of unused-but-set gcc warnings.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/wmalosslessdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c index d4c9c5a828..cb7f66715b 100644 --- a/libavcodec/wmalosslessdec.c +++ b/libavcodec/wmalosslessdec.c @@ -22,6 +22,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "avcodec.h" #include "internal.h" #include "get_bits.h" @@ -1041,7 +1042,7 @@ static int decode_frame(WmallDecodeCtx *s) /* no idea what these are for, might be the number of samples that need to be skipped at the beginning or end of a stream */ if (get_bits1(gb)) { - int skip; + int av_unused skip; /* usually true for the first frame */ if (get_bits1(gb)) { |