Vorbisfile documentation | vorbisfile version 1.68 - 20030307

# Return Codes

The following return codes are `#define`d in "vorbis/codec.h" may be returned by libvorbisfile. 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 decode state. Continuing is likely not possible.
OV_EIMPL
  Feature not implemented
OV_EINVAL
  Either an invalid argument, or incompletely initialized argument passed to libvorbisfile 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 © 2003 Xiph.org | Ogg Vorbis
Vorbisfile documentation | vorbisfile version 1.68 - 20030307