[vorbis-dev] Bug in ogglib leads to incomplete packets

tobias.waldvogel at realtech.de tobias.waldvogel at realtech.de
Mon Mar 18 13:33:08 PST 2002



There seems to be a bug in ogg lib:

The error occurs in the following situation:

- You have called ogg_stream_reset
- You deliver a page to the stream which contains
  only the "middle of packet. I.e. not the beginning
  and not the end.
  (packets = 0         continued = 1)
- You deliver the next page which contains
  the end of the page before and some more
  (packets >= 1 )

Now ogglib returns the end of this packet as
a complete packet because the check if there
was a hole is only done once in ogg_stream_pagein

Best regards,
Tobias

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list