[FFmpeg-cvslog] mov: Remove write-only variable in mov_read_chan().

Diego Biurrun git at videolan.org
Tue May 8 22:07:20 CEST 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Apr 19 14:53:23 2012 +0200| [455245ca8a10aa727ffb835db0c02c6bded46a8e] | committer: Diego Biurrun

mov: Remove write-only variable in mov_read_chan().

libavformat/mov.c:597:25: warning: variable ‘cflags’ set but not used

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=455245ca8a10aa727ffb835db0c02c6bded46a8e
---

 libavformat/mov.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 35c9b6e..ad1340a 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]



More information about the ffmpeg-cvslog mailing list