mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
62f6aacafd
nsOggReader::RangeEndTime() relied on CRC values from valid ogg pages to keep track of already-searched data when looking for a end timestamp. This caused quadratic behaviour searching in a section of a file with no valid pages. Instead, remember where we last looked, and backoff immediately if we go more than the maximum length of a page into previously scanned data. This avoids searching data we've eliminated as containing valid Ogg pages and lets us search backward with O(N) instead. |
||
---|---|---|
.. | ||
Makefile.in | ||
nsOggCodecState.cpp | ||
nsOggCodecState.h | ||
nsOggDecoder.cpp | ||
nsOggDecoder.h | ||
nsOggDecoderStateMachine.cpp | ||
nsOggDecoderStateMachine.h | ||
nsOggReader.cpp | ||
nsOggReader.h |