libvorbis - Return Codes

libvorbis documentation | libvorbis version 1.3.2 - 20101101

# Return Codes

The following return codes are `#define`d in "vorbis/codec.h" and may be returned by functions from libvorbis, libvorbisfile, and libvorbisenc. Descriptions of a code relevant to a specific function are found in the reference description of that function.

OV_FALSE
  Not true, or no data available
OV_HOLE
  Vorbisfile encoutered missing or corrupt data in the bitstream. Recovery is normally automatic and this return code is for informational purposes only.
OV_EREAD
  Read error while fetching compressed data for decode
OV_EFAULT
  Internal inconsistency in encode or decode state. Continuing is likely not possible.
OV_EIMPL
  Feature not implemented
OV_EINVAL
  Either an invalid argument, or incompletely initialized argument passed to a call
OV_ENOTVORBIS
  The given file/data was not recognized as Ogg Vorbis data.
OV_EBADHEADER
  The file/data is apparently an Ogg Vorbis stream, but contains a corrupted or undecipherable header.
OV_EVERSION
  The bitstream format revision of the given stream is not supported.
OV_EBADLINK
  The given link exists in the Vorbis data stream, but is not decipherable due to garbacge or corruption.
OV_ENOSEEK
  The given stream is not seekable

copyright © 2000-2010 Xiph.Org | Ogg Vorbis
libvorbis documentation | libvorbis version 1.3.2 - 20101101