[FFmpeg-cvslog] fix "warning: variable ‘cflags =?UTF-8?Q?=E2=80=99=20set=20but=20not=20used?="
Michael Niedermayer
git at videolan.org
Mon Feb 6 02:21:32 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Feb 6 01:02:07 2012 +0100| [8d756c0d55007ba13f69881d4fa1f2ad2b898a9b] | committer: Michael Niedermayer
fix "warning: variable ‘cflags’ set but not used"
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8d756c0d55007ba13f69881d4fa1f2ad2b898a9b
---
libavformat/mov.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 214463c..e251535 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -602,7 +602,7 @@ 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 av_unused label, cflags;
label = avio_rb32(pb); // mChannelLabel
cflags = avio_rb32(pb); // mChannelFlags
avio_rl32(pb); // mCoordinates[0]
More information about the ffmpeg-cvslog
mailing list