Skip to content
Myr

stb_vorbis: improve fix for theoretical seek performance problem

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Dougall Johnson · committed by Dougall Johnson · parent c329867 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:stb_vorbis.c+1 added-1 removed
4719 unmodified lines
47204721 // if we've just found the last page again then we're in a tricky file,4722 // and we're close enough (if it wasn't an interpolation probe).4723 if (mid.page_start == right.page_start) {4724 if (probe >= 2)4724 if (probe >= 2 || delta <= 65536)4725 break;4726 } else {4727 if (last_sample_limit < mid.last_decoded_sample)4728 right = mid;
788 unmodified lines