[FFmpeg-cvslog] flvdec: fix "libavformat/flvdec.c:195:29: warning: variable size1 set but not used"
Michael Niedermayer
git at videolan.org
Sat Feb 25 03:03:04 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Feb 25 02:12:09 2012 +0100| [1e44dda825c9d9edd55d53c5aff74f60f8fbedf9] | committer: Michael Niedermayer
flvdec: fix "libavformat/flvdec.c:195:29: warning: variable size1 set but not used"
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1e44dda825c9d9edd55d53c5aff74f60f8fbedf9
---
libavformat/flvdec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 7a0ac89..bbc7163 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);
More information about the ffmpeg-cvslog
mailing list