Commit a757eebf authored by Max Kellermann's avatar Max Kellermann

decoder/OggSyncState: allow skipping up to 64 kB after seek

This is more of what we did in commit 70bd35ab because it turns out there are Ogg-Opus files with pages larger than 40 kB. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1487
parent 2be4f895
ver 0.23.7 (not yet released)
* decoder
- opus: fix missing song length on high-latency files
ver 0.23.6 (2022/03/14)
* protocol
......
......@@ -67,7 +67,7 @@ OggSyncState::ExpectPageIn(ogg_stream_state &os)
bool
OggSyncState::ExpectPageSeek(ogg_page &page)
{
size_t remaining_skipped = 32768;
size_t remaining_skipped = 65536;
while (true) {
int r = ogg_sync_pageseek(&oy, &page);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment