You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
flvdec: fix "libavformat/flvdec.c:195:29: warning: variable size1 set but not used"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user