dlen is only read when CONFIG_ZLIB is set, so mark it as possibly
unused.
---
 libavformat/id3v2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index a1d0ebe..3e1eca2 100644
--- a/libavformat/id3v2.c
+++ b/libavformat/id3v2.c
@@ -743,7 +743,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)
-- 
2.1.2.443.g670a3c1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to