[FFmpeg-cvslog] avformat/id3v2: Mark variable as unused to avoid "set but not used" warning
Michael Niedermayer
git at videolan.org
Mon Aug 8 19:43:30 EEST 2016
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Mon Aug 8 14:36:04 2016 +0200| [65298a192a9292eb56739b4100e4aa51ce2a9aab] | committer: Michael Niedermayer
avformat/id3v2: Mark variable as unused to avoid "set but not used" warning
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=65298a192a9292eb56739b4100e4aa51ce2a9aab
---
libavformat/id3v2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index 380a982..921a7c2 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -408,7 +408,7 @@ static void read_comment(AVFormatContext *s, AVIOContext *pb, int taglen,
const char *key = "comment";
uint8_t *dst;
int encoding, dict_flags = AV_DICT_DONT_OVERWRITE | AV_DICT_DONT_STRDUP_VAL;
- int language;
+ av_unused int language;
if (taglen < 4)
return;
More information about the ffmpeg-cvslog
mailing list