mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 05:50:43 +00:00
Allow using only the mfra info for seeking using the fragment index
The mfra has enough information to enable seeking, and reading it is behind an AVOption flag, so we shouldn't require that sidx information also be present in order to seek using the fragment index. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
parent
7ea4bcff7b
commit
2be3eb7f77
@ -7529,6 +7529,7 @@ static int mov_read_mfra(MOVContext *c, AVIOContext *f)
|
|||||||
goto fail;
|
goto fail;
|
||||||
} while (!ret);
|
} while (!ret);
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
c->frag_index.complete = 1;
|
||||||
fail:
|
fail:
|
||||||
seek_ret = avio_seek(f, original_pos, SEEK_SET);
|
seek_ret = avio_seek(f, original_pos, SEEK_SET);
|
||||||
if (seek_ret < 0) {
|
if (seek_ret < 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user