[Vorbis-dev] ov_read() returns OV_EINVAL (-131)
Ralph Giles
giles at xiph.org
Fri Apr 11 17:59:34 PDT 2008
On 11-Apr-08, at 12:21 PM, Matthias Brandt wrote:
> I'm coding on a C++ game with Vorbis- and 5.1-Surround-compatibily.
> For
> two channels (stereo), everything's fine, but when I try to read a
> 6-channel-ogg, ov_read returns -131 (OV_EINVAL). That's strange,
> because
> as the specification says, it only returns OV_HOLE or OV_EBADLINK as
> errors [1].
It can return OV_EINVAL if it can't open file, or if the file headers
are corrupt, or if the stream isn't seekable and it can't get enough
data. You might check those conditions.
-r
More information about the Vorbis-dev
mailing list