Commit 1e44dda8 authored by Michael Niedermayer's avatar Michael Niedermayer

flvdec: fix "libavformat/flvdec.c:195:29: warning: variable size1 set but not used"

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b93c9157
...@@ -192,7 +192,7 @@ static int parse_keyframes_index(AVFormatContext *s, AVIOContext *ioc, AVStream ...@@ -192,7 +192,7 @@ static int parse_keyframes_index(AVFormatContext *s, AVIOContext *ioc, AVStream
} }
if (timeslen == fileposlen && fileposlen>1 && max_pos <= filepositions[0]) { 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); avio_seek(ioc, filepositions[1]-4, SEEK_SET);
size0 = avio_rb32(ioc); size0 = avio_rb32(ioc);
avio_r8(ioc); avio_r8(ioc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment