[PATCH] Cortado doesn't handle incomplete packets correctly
This patch updates the pagein function to match the current libogg implementation. This fixes a bug where Cortado would die or display corrupt video when a Theora stream begins with an incomplete packet.
I have been testing this patch on my website for a few months now without issue.
This patch was also posted here: https://bugzilla.wikimedia.org/show_bug.cgi?id=18906