Commit 8bcf425d authored by Benoit Fouet's avatar Benoit Fouet Committed by Michael Niedermayer

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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4f1a252f
...@@ -726,7 +726,7 @@ static void id3v2_parse(AVIOContext *pb, AVDictionary **metadata, ...@@ -726,7 +726,7 @@ static void id3v2_parse(AVIOContext *pb, AVDictionary **metadata,
int tunsync = 0; int tunsync = 0;
int tcomp = 0; int tcomp = 0;
int tencr = 0; int tencr = 0;
unsigned long dlen; unsigned long av_unused dlen;
if (isv34) { if (isv34) {
if (avio_read(pb, tag, 4) < 4) if (avio_read(pb, tag, 4) < 4)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment