[FFmpeg-devel] [mov] Fix trampling of ctts during seeks when sidx support is enabled.
Dale Curtis
dalecurtis at chromium.org
Tue Aug 29 02:07:00 EEST 2017
On Fri, Aug 25, 2017 at 10:18 AM, Michael Niedermayer <
michael at niedermayer.cc> wrote:
>
> hmm
>
> maybe i misunderstand but assuming we insert a block of dummy blank
> entries (without breaking monotonicity) and keep a pointer to that
> block
>
> then add entries with a av_add_index_entry()
> and in case of failure remove the blank entries
>
> this would result in the same as now and seems relativly simple
> it would not need memmove and in general would not need a log n
> search if each falls on the first spot of the block
>
> or am i missing something ?
>
This patch does what you're suggesting, but I'm not confident it's right in
all cases.
- dale
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctts_fast.patch
Type: application/octet-stream
Size: 5008 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170828/0de2629d/attachment.obj>
More information about the ffmpeg-devel
mailing list