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 /libavformat/mov.c | |
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 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 04deef6a16..35c9b6e6b5 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -25,6 +25,7 @@ //#define DEBUG //#define MOV_EXPORT_ALL_METADATA +#include "libavutil/attributes.h" #include "libavutil/audioconvert.h" #include "libavutil/intreadwrite.h" #include "libavutil/intfloat.h" @@ -596,8 +597,9 @@ static int mov_read_dec3(MOVContext *c, AVIOContext *pb, MOVAtom atom) static int mov_read_chan(MOVContext *c, AVIOContext *pb, MOVAtom atom) { AVStream *st; - uint8_t version; - uint32_t flags, layout_tag, bitmap, num_descr, label_mask; + uint8_t av_unused version; + uint32_t av_unused flags; + uint32_t layout_tag, bitmap, num_descr, label_mask; int i; if (c->fc->nb_streams < 1) |