Re: [Flac-dev] PATCH : Fix missing protoypes

2007-07-24 Thread Erik de Castro Lopo
Josh Coalson wrote: > --- Erik de Castro Lopo <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > I added -Wmissing-prototypes -Wstrict-prototypes to the CFLAGS and > > found that there were a number warnings generated. > > > > The patch below fixes those warnings and adds the two -W flags to > >

Re: [Flac-dev] FLAC__stream_decoder_process_single and FLAC__STREAM_DECODER_END_OF_STREAM

2007-07-24 Thread Josh Coalson
--- Erik de Castro Lopo <[EMAIL PROTECTED]> 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 FLA

Re: [Flac-dev] PATCH : Fix missing protoypes

2007-07-24 Thread Josh Coalson
--- Erik de Castro Lopo <[EMAIL PROTECTED]> wrote: > Hi all, > > I added -Wmissing-prototypes -Wstrict-prototypes to the CFLAGS and > found that there were a number warnings generated. > > The patch below fixes those warnings and adds the two -W flags to > configure.in. I checked most of it in,

Re: [Flac-dev] Is FLAC__stream_decoder_seek_absolute working for OggFlac?

2007-07-24 Thread Josh Coalson
--- Erik de Castro Lopo <[EMAIL PROTECTED]> wrote: > Hi all, > > Is seeking working for OggFlac files? I keep on getting a > FLAC__STREAM_DECODER_SEEK_ERROR. yes, it should work fine. in flac/src/test_seeking/main.c there is an example usage of FLAC__stream_decoder_seek_absolute(). you could t