aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-04-19 14:53:23 +0200
committerDiego Biurrun <diego@biurrun.de>2012-05-07 20:31:23 +0200
commit455245ca8a10aa727ffb835db0c02c6bded46a8e (patch)
tree60264ffd0f716e0847b0c651e64c7695acd24f4f
parentfa8fc3b73ac44330169cd6f10de1b87a567c6702 (diff)
downloadffmpeg-455245ca8a10aa727ffb835db0c02c6bded46a8e.tar.gz
mov: Remove write-only variable in mov_read_chan().
libavformat/mov.c:597:25: warning: variable ‘cflags’ set but not used
-rw-r--r--libavformat/mov.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 35c9b6e6b5..ad1340a79d 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -624,9 +624,9 @@ static int mov_read_chan(MOVContext *c, AVIOContext *pb, MOVAtom atom)
label_mask = 0;
for (i = 0; i < num_descr; i++) {
- uint32_t label, cflags;
+ uint32_t label;
label = avio_rb32(pb); // mChannelLabel
- cflags = avio_rb32(pb); // mChannelFlags
+ avio_rb32(pb); // mChannelFlags
avio_rl32(pb); // mCoordinates[0]
avio_rl32(pb); // mCoordinates[1]
avio_rl32(pb); // mCoordinates[2]