mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
ce957c9c8b
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. |
||
---|---|---|
.. | ||
base | ||
canvas | ||
events | ||
html | ||
mathml/content | ||
media | ||
smil | ||
svg | ||
test | ||
xbl | ||
xml | ||
xslt | ||
xtf | ||
xul | ||
Makefile.in |