[FFmpeg-devel] [PATCH] ff_add_av_index_entry_internal
Sat Nov 21 03:15:47 CET 2009
On 11/20/2009 05:52 PM, Michael Niedermayer wrote:
> On Fri, Nov 20, 2009 at 05:41:09PM -0800, Baptiste Coudurier wrote:
>> This introduce ff_add_av_index_entry_internal which do _not_ search for
>> Searching for duplicates really slow down index populating for demuxers
>> having an index in the file, and it's useless since there are no
>> duplicates. Basically mov demuxer calls it for each sample :(
> i think i know a better solution:
> add a check in av_index_search_timestamp() before the slow loop
> that checks if the searched pos is after the last and if so skip
> the loop.
Something like this ?
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer http://www.ffmpeg.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1347 bytes
Desc: not available
More information about the ffmpeg-devel