search for: flac__stream_decoder_ogg_error

Displaying 3 results from an estimated 3 matches for "flac__stream_decoder_ogg_error".

2014 Apr 07
3
Patch to fix compiler warnings and error status collisions
...al for API users to misinterpret the state being returned since the return variable was of type FLAC__StreamDecoderState, but the value being returned was FLAC__StreamDecoderInitStatus. When FLAC__STREAM_DECODER_INIT_STATUS_ALREADY_INITIALIZED was returned in this case it was indistinguishable from FLAC__STREAM_DECODER_OGG_ERROR. Is there somewhere that I can push the patch so that it can easily be pulled into the repository or does one of the maintainers just apply the patch and attribute the credit in the commit message? Thanks, -Lenny -------------- next part -------------- A non-text attachment was scrubbed... Name:...
2014 Apr 07
0
Patch to fix compiler warnings and error status collisions
...terpret the state being returned > since the return variable was of type FLAC__StreamDecoderState, > but the value being returned was FLAC__StreamDecoderInitStatus. > When FLAC__STREAM_DECODER_INIT_STATUS_ALREADY_INITIALIZED was > returned in this case it was indistinguishable from > FLAC__STREAM_DECODER_OGG_ERROR. Problem is this patch changes the ABI because FLAC__StreamDecodeInitStatus disappears from the API. Is there some way this can be fixed without chaning the API/ABI? Cheers, Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd....
2014 Apr 07
2
Patch to fix compiler warnings and error status collisions
...ing returned >> since the return variable was of type FLAC__StreamDecoderState, >> but the value being returned was FLAC__StreamDecoderInitStatus. >> When FLAC__STREAM_DECODER_INIT_STATUS_ALREADY_INITIALIZED was >> returned in this case it was indistinguishable from >> FLAC__STREAM_DECODER_OGG_ERROR. > > Problem is this patch changes the ABI because FLAC__StreamDecodeInitStatus > disappears from the API. > > Is there some way this can be fixed without chaning the API/ABI? FLAC__StreamDecodeInitStatus is still there. It is simply another name for FLAC__StreamDecoderState. The...