diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2020-09-01 15:33:47 +0100 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2020-09-03 19:04:29 +0100 |
commit | 97fa669a6f8f3ecee458a51d38f14429e2d67024 (patch) | |
tree | 755aa30720578ea9a2abca9c49eea130e45406a2 /libavdevice/avfoundation.m | |
parent | 19064a36e39a113568cb4ea2d581747fd43e055a (diff) | |
download | ffmpeg-97fa669a6f8f3ecee458a51d38f14429e2d67024.tar.gz |
avformat/mov: Only read the mfra size once during sidx parsing
On files with more than one sidx box, like live fragmented MP4
files, it was previously re-reading and seeking on every singl
sidx box, leading to extremely poor performance on larger files,
especially over the network.
Only do it on the first one, and stash its result.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavdevice/avfoundation.m')
0 files changed, 0 insertions, 0 deletions