aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2014-10-16 11:44:46 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-10-16 15:54:02 +0200
commit8bcf425d06a278ee7870082777a8e99229c53eed (patch)
treecc9db6cc0ecc1e8a4d17ab5e1c21e5d8e2923f57
parent4f1a252fd3f04082c0d91ac2f42d47135197a8d5 (diff)
downloadffmpeg-8bcf425d06a278ee7870082777a8e99229c53eed.tar.gz
avformat/id3v2: silence a warning when CONFIG_ZLIB is unset.
dlen is only read when CONFIG_ZLIB is set, so mark it as possibly unused. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/id3v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index 5469e0ace5..44df4fff34 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -726,7 +726,7 @@ static void id3v2_parse(AVIOContext *pb, AVDictionary **metadata,
int tunsync = 0;
int tcomp = 0;
int tencr = 0;
- unsigned long dlen;
+ unsigned long av_unused dlen;
if (isv34) {
if (avio_read(pb, tag, 4) < 4)