Skip to content

Bugfix: fix Ogg packets spanning multiple pages#6

Merged
kahrendt merged 2 commits intomainfrom
potential-bug
Feb 18, 2026
Merged

Bugfix: fix Ogg packets spanning multiple pages#6
kahrendt merged 2 commits intomainfrom
potential-bug

Conversation

@kahrendt
Copy link
Collaborator

When an Ogg packet spans multiple pages, the demuxer is supposed to buffer the contents of the packet on the first page internally. When the following pages arrive, it should be concatenated in the internal buffer until it is complete.

This fixes a bug where the zero-copy path would be activated on the final Ogg page that has the end of the packet, which would completely ignore the contents in the internal buffer that the demuxer was assembling.

@kahrendt kahrendt added bug Something isn't working bugfix #d35e28 and removed bug Something isn't working labels Feb 18, 2026
@kahrendt kahrendt merged commit 4955dd4 into main Feb 18, 2026
3 checks passed
@kahrendt kahrendt deleted the potential-bug branch February 18, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix #d35e28

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments