1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-04 01:30:05 +02:00

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

View File

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