[Flac-dev] decoder lost after processing
albert.chang at gmx.com
Thu Sep 15 11:04:39 PDT 2011
You can disregard my last message. I figured it out.
On Thu, Sep 15, 2011 at 10:45:18AM -0400, Albert Chang wrote:
> I'm writing a simple flac playing program, and I've basically modified
> the example C decoder code to use libao. The example code works just
> fine, but when I use libao, after calling
> FLAC__stream_decoder_process_until_end_of_stream(), decoder points to an
> inaccessible area of memory (0x2). This invariable causes a segmentation
> fault when anything else thereafter uses the decoder (i.e.
> FLAC__stream_decoder_get_state() and FLAC__stream_decoder_delete()).
> What could be causing the problem?
> My code can be accessed here <http://sprunge.us/IUha>
> Best regards,
> Albert Chang
> Flac-dev mailing list
> Flac-dev at xiph.org
More information about the Flac-dev