[Vorbis] Why does ov_open fail?
Paul Martin
pm at nowster.zetnet.co.uk
Tue May 24 01:10:26 PDT 2005
On Tue, May 24, 2005 at 01:16:51AM +0200, Wan-Hi wrote:
> if (_topen(pFilePath, _O_RDONLY | _O_BINARY) == -1)
You open a file, then throw away the handle.
> if(ov_open(stdin, &vf, NULL, 0) < 0)
You try to open a Vorbis file from STDIN, which is probably not the file
you opened with _topen().
--
Paul Martin <pm at zetnet.net> (work)
<pm at nowster.zetnet.co.uk> (home)
More information about the Vorbis
mailing list