[Flac-dev] decoder lost after processing
Albert Chang
albert.chang at gmx.com
Thu Sep 15 11:04:39 PDT 2011
Hi,
You can disregard my last message. I figured it out.
Thanks,
Albert Chang
On Thu, Sep 15, 2011 at 10:45:18AM -0400, Albert Chang wrote:
> Hi,
>
> 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
> http://lists.xiph.org/mailman/listinfo/flac-dev
More information about the Flac-dev
mailing list