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>
This commit is contained in:
Benoit Fouet 2014-10-16 11:44:46 +02:00 committed by Michael Niedermayer
parent 4f1a252fd3
commit 8bcf425d06
1 changed files with 1 additions and 1 deletions

View File

@ -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)