avformat/id3v2: Fix "warning: unused variable uncompressed_buffer_size" if zlib is...
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 30 Aug 2014 10:21:07 +0000 (12:21 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 30 Aug 2014 10:21:07 +0000 (12:21 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/id3v2.c

index fb89e83..5469e0a 100644 (file)
@@ -676,7 +676,7 @@ static void id3v2_parse(AVIOContext *pb, AVDictionary **metadata,
     int buffer_size       = 0;
     const ID3v2EMFunc *extra_func = NULL;
     unsigned char *uncompressed_buffer = NULL;
-    int uncompressed_buffer_size = 0;
+    av_unused int uncompressed_buffer_size = 0;
 
     av_log(s, AV_LOG_DEBUG, "id3v2 ver:%d flags:%02X len:%d\n", version, flags, len);