[Vorbis-dev] predictability of buffer size for decoding
Steve Russell
srussell at innernet.net
Tue Nov 8 10:53:02 PST 2005
----- Original Message -----
From: "Michael Smith" <msmith at xiph.org>
I don't know what might be going wrong. Can you run the
vorbisfile_example program on this file on your system (from
vorbis/examples/ in the libvorbis source code)? Run like
"./vorbisfile_example < input.ogg > output.raw", it should print out
some info about the file - including the number of samples according
to vorbisfile, and then write that many samples (as 16 bit data) to
the output file.
This works fine on my system.
Mike
---------
Shortly after the vorbisfile_example.exe command prompt window opens, I get
this:
NTDLL! 7c918fea()
NTDLL! 7c90104b()
fseek(_iobuf * 0x00422a30 __iob, long 0, int 1) line 103 + 9 bytes
VORBISFILE_D! 10002937()
VORBISFILE_D! 1000141d()
VORBISFILE_D! 10001399()
VORBISFILE_D! 100028ca()
main() line 49 + 21 bytes
which leads me to here:
if(ov_open(stdin, &vf, NULL, 0) < 0) {
Any thought on how to proceed?
More information about the Vorbis-dev
mailing list