summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-30 12:21:07 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-30 12:21:07 +0200
commit19bf1ed1f4263346ec67b7a8271b9b6351c8a011 (patch)
tree3000debfd05129535da4b67cf20b72efeb7f8926
parent0daff3ce76329f107e2ca2e893c3c456b5873c77 (diff)
downloadffmpeg-streaming-19bf1ed1f4263346ec67b7a8271b9b6351c8a011.zip
ffmpeg-streaming-19bf1ed1f4263346ec67b7a8271b9b6351c8a011.tar.gz
avformat/id3v2: Fix "warning: unused variable uncompressed_buffer_size" if zlib is unavailable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/id3v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c
index fb89e83..5469e0a 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);
OpenPOWER on IntegriCloud