[vorbis-dev] Problem with 'ov_open'...
Tom Hargreaves
hex at freezone.co.uk
Mon Feb 9 13:33:35 PST 2004
On Mon, Feb 09, 2004 at 02:49:09PM -0500, Ryan Ashley wrote:
[snip]
> OggVorbis_File *OVFile;
[snip]
> if((ov_open(SoundFile, OVFile, NULL, 0)) < 0)
> return false;
Umm, OVFile could be pointing anywhere when you pass it to ov_open.
I think you mean:
} OggVorbis_File OVFile;
}
} if((ov_open(SoundFile, &OVFile, NULL, 0)) < 0)
} return false;
See also vorbisfile_example.c in the libvorbis examples directory.
Hope this helps,
Tom.
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list