ffmpeg | branch: master | Justin Ruggles <justin.rugg...@gmail.com> | Fri Oct 2 08:51:19 2020 -0400| [2be3eb7f77a3b6433016f5691ed504f99e0377da] | committer: Derek Buitenhuis
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.buitenh...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2be3eb7f77a3b6433016f5691ed504f99e0377da --- libavformat/mov.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 4f64e96bc0..7fd43a8fc5 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -7529,6 +7529,7 @@ static int mov_read_mfra(MOVContext *c, AVIOContext *f) goto fail; } while (!ret); ret = 0; + c->frag_index.complete = 1; fail: seek_ret = avio_seek(f, original_pos, SEEK_SET); if (seek_ret < 0) { _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".