You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
ape: fix seeking
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
This commit is contained in:
committed by
Justin Ruggles
parent
b60620bf7e
commit
86b57e4efe
@@ -406,6 +406,8 @@ static int ape_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp
|
||||
if (index < 0)
|
||||
return -1;
|
||||
|
||||
if (avio_seek(s->pb, st->index_entries[index].pos, SEEK_SET) < 0)
|
||||
return -1;
|
||||
ape->currentframe = index;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user