[ogg-dev] Zero granule pos

Ralph Giles giles at xiph.org
Thu Jul 24 10:32:46 PDT 2008


On 24-Jul-08, at 6:24 AM, ogg.k.ogg.k at googlemail.com wrote:

> I've seen several implementations of Ogg demuxing that use a zero  
> granulepos to detect headers. However, I do not recall seeing this  
> in the Ogg docs - is this an abuse that happens to work because  
> Vorbis is timed by end granule, or is it a proper way to check ?

We've tried to make it "best practice" that ogg mappings be designed  
so that this is possible, but you're correct that it's not required  
by the spec.

  -r



More information about the ogg-dev mailing list