From 1e44dda825c9d9edd55d53c5aff74f60f8fbedf9 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 25 Feb 2012 02:12:09 +0100 Subject: [PATCH] flvdec: fix "libavformat/flvdec.c:195:29: warning: variable size1 set but not used" Signed-off-by: Michael Niedermayer --- libavformat/flvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 7a0ac89c54..bbc71636f1 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -192,7 +192,7 @@ static int parse_keyframes_index(AVFormatContext *s, AVIOContext *ioc, AVStream } if (timeslen == fileposlen && fileposlen>1 && max_pos <= filepositions[0]) { - int64_t dts, size0, size1; + int64_t av_unused dts, size0, size1; avio_seek(ioc, filepositions[1]-4, SEEK_SET); size0 = avio_rb32(ioc); avio_r8(ioc);