From 19bf1ed1f4263346ec67b7a8271b9b6351c8a011 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 30 Aug 2014 12:21:07 +0200 Subject: avformat/id3v2: Fix "warning: unused variable uncompressed_buffer_size" if zlib is unavailable Signed-off-by: Michael Niedermayer --- libavformat/id3v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c index fb89e83944..5469e0ace5 100644 --- a/libavformat/id3v2.c +++ b/libavformat/id3v2.c @@ -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); -- cgit v1.2.3