Unverified Commit 599c3d20 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Add EOS support

parent 90aad98f
......@@ -337,6 +337,7 @@ int oggp_get_next_page(oggpacker *oggp, unsigned char **page, int *bytes) {
/* FIXME: handle eos/continuation */
ptr[5]=0x00;
if (p->pageno == 0) ptr[5] |= 0x02;
if (oggp->pages_fill==1 && oggp->is_eos) ptr[5] |= 0x04;
granule_pos = p->granulepos;
/* 64 bits of PCM position */
......
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