[FFmpeg-cvslog] avformat/id3v2: Fix "warning: unused variable uncompressed_buffer_size" if zlib is unavailable
Michael Niedermayer
git at videolan.org
Sat Aug 30 12:38:50 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Aug 30 12:21:07 2014 +0200| [19bf1ed1f4263346ec67b7a8271b9b6351c8a011] | committer: Michael Niedermayer
avformat/id3v2: Fix "warning: unused variable uncompressed_buffer_size" if zlib is unavailable
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=19bf1ed1f4263346ec67b7a8271b9b6351c8a011
---
libavformat/id3v2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
More information about the ffmpeg-cvslog
mailing list