[ogg-dev] Does ogg segments include more than one Vorbis frame

Johnslion Woo johnslion at gmail.com
Mon Apr 8 04:34:03 PDT 2013

Hi, Guys:

     Does anybody know is it allowed for the OGG segment including more
than one Vorbis frame?  Or should I consider about that?
     I am working on OGG+Vorbis player now, but met some cases that OGG
segment includes some garbage bytes after one Vorbis frame, I want to know
whether it's safe if I just drop the left bytes after decoding one Vorbis

     I read the page http://xiph.org/ogg/doc/framing.html, but it only
describe the case that one frame is bigger than one segment (255) and I
didn't find any words on storing several small frames into one segment. So
I just want to make sure of whether it's allowed.

Thanks & Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/ogg-dev/attachments/20130408/1055c7c2/attachment.htm 

More information about the ogg-dev mailing list