You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/mov: Do not try and seek to an mfra if the reader can't seek
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
@@ -5094,7 +5094,7 @@ static int mov_read_sidx(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
|||||||
|
|
||||||
// See if the remaining bytes are just an mfra which we can ignore.
|
// See if the remaining bytes are just an mfra which we can ignore.
|
||||||
is_complete = offset == stream_size;
|
is_complete = offset == stream_size;
|
||||||
if (!is_complete) {
|
if (!is_complete && (pb->seekable & AVIO_SEEKABLE_NORMAL)) {
|
||||||
int64_t ret;
|
int64_t ret;
|
||||||
int64_t original_pos = avio_tell(pb);
|
int64_t original_pos = avio_tell(pb);
|
||||||
int32_t mfra_size;
|
int32_t mfra_size;
|
||||||
|
Reference in New Issue
Block a user