[Flac-dev] FLAC__stream_decoder_process_single and FLAC__STREAM_DECODER_END_OF_STREAM

Josh Coalson xflac at yahoo.com
Tue Jul 24 20:15:19 PDT 2007


--- Erik de Castro Lopo <erikd-flac at mega-nerd.com> wrote:
> Hi all,
> 
> If I have code that does this:
> 
>     while (FLAC__stream_decoder_process_single (decoder))
>         /* Do something. */ ;
> 
> I get an infinite loop. Shouldn't FLAC__stream_decoder_process_single
> return false if it gets to FLAC__STREAM_DECODER_END_OF_STREAM?

it supposed to be like that actually, there's a little explanation
here:

http://flac.sourceforge.net/api/group__flac__stream__decoder.html#ga45

Josh



       
____________________________________________________________________________________
Choose the right car based on your needs.  Check out Yahoo! Autos new Car Finder tool.
http://autos.yahoo.com/carfinder/


More information about the Flac-dev mailing list