Hello All, I'm trying to decode Vorbis data without using Ogg. My program successfully writes out Vorbis data, but I'm having trouble reading it back in again. I've based my code off how libfishsound worked, but am having AV's on the call to vorbis_synthesis_init. I call vorbis_synthesis_init when 2 headers have been read. I allocate the vorbis_info and the DSP structure before hand, so I can't explain why I get these AV's. They indicate that something somewhere is a NULL pointer because it is "read of address 00000000". Please tell me if there is anything else you need to know. Yours sincerely, Jonathan Benedicto http://www.jomitech.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/vorbis/attachments/20051219/94f52168/attachment.htm
On 12/19/05, Jonathan Benedicto <contact@jomitech.com> wrote:> > Hello All, > > I'm trying to decode Vorbis data without using Ogg. My program successfully > writes out Vorbis data, but I'm having trouble reading it back in again.Ok. What are you using instead of Ogg?> > I've based my code off how libfishsound worked, but am having AV's on the > call to vorbis_synthesis_init. I call vorbis_synthesis_init when 2 headers > have been read.Well, you're required to submit all three headers, not just two of them. So, the cause is probably the missing third header. Mike