Commit 8e4cb321 authored by Max Kellermann's avatar Max Kellermann

lib/xiph/OggSyncState: fix offset counter by using the actual page size

parent 7bcccbed
......@@ -43,7 +43,7 @@ OggSyncState::ExpectPage(ogg_page &page)
if (r != 0) {
if (r > 0) {
start_offset = offset;
offset += r;
offset += page.header_len + page.body_len;
}
return r > 0;
}
......
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