search for: flacdecoder_readcallback

Displaying 4 results from an estimated 4 matches for "flacdecoder_readcallback".

2009 Jun 01
0
Bug in bitreader for short reads?
...ces decoding problems. The problem is very easy to reproduce: in the read callback, always return 1 byte, regardless of how many bytes are asked for. For example, in a typical read callback routine, one can do the (simplified) following and see the problem: static FLAC__StreamDecoderReadStatus FlacDecoder_ReadCallback(const FLAC__StreamDecoder* flac, FLAC__byte buffer[], size_t* bytes, void* client_data) { *bytes=1; /* <--- this was added to always return at most one b...
2009 Jun 04
0
Bug in bitreader for short reads?
...he problem is very easy to reproduce: > in the read callback, always return 1 byte, regardless of > how many bytes are asked for.For example, in a > typical read callback routine, one can do the (simplified) > following and see the problem: > static > FLAC__StreamDecoderReadStatus FlacDecoder_ReadCallback(const > FLAC__StreamDecoder* flac, > FLAC__byte > > buffer[], > size_t* > > bytes, > void* > > client_data){ *bytes=1; > /* <--...
2009 Jun 01
0
Bug in bitreader for short reads?
...ces decoding problems. The problem is very easy to reproduce: in the read callback, always return 1 byte, regardless of how many bytes are asked for. For example, in a typical read callback routine, one can do the (simplified) following and see the problem: static FLAC__StreamDecoderReadStatus FlacDecoder_ReadCallback(const FLAC__StreamDecoder* flac, FLAC__byte buffer[], size_t* bytes, void* client_data) { *bytes=1; /* <--- this was added to always return at most one b...
2009 Jun 04
0
Bug in bitreader for short reads?
...e problem is very easy to reproduce: > in the read callback, always return 1 byte, regardless of > how many bytes are asked for.For example, in a > typical read callback routine, one can do the (simplified) > following and see the problem: > static > FLAC__StreamDecoderReadStatus FlacDecoder_ReadCallback(const > FLAC__StreamDecoder* flac, > FLAC__byte > > buffer[], > size_t* > > bytes, > void* > > client_data) { *bytes=1; > /* &...