[Vorbis-dev] ov_read() returns OV_EINVAL (-131)

xiphmont at xiph.org xiphmont at xiph.org
Mon Apr 14 08:14:13 PDT 2008


On Mon, Apr 14, 2008 at 10:05 AM, Matthias Brandt <nospam at maz-b.com> wrote:
> Ralph Giles schrieb:
>
> > 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
>  >
>  I've created this file [1] (60s silence only, 6 channels) and it should
>  pass all those conditions.

deep-space-bananafish:~/MotherfishSVN/vorbis/examples>
./vorbisfile_example < ~/silence_surround.ogg > /dev/null
ENCODER=Sweep 0.9.2 (metadecks.org)

Bitstream is 6 channel, 44100Hz

Decoded length: 2646000 samples
Encoded by: Xiph.Org libVorbis I 20070622

Done.

Hmmm... so the linux x86-64 build works, which doesn't say much about
a VC++ app.  Can you check that other files open correctly (stereo
that is).

Monty


More information about the Vorbis-dev mailing list