summaryrefslogtreecommitdiff
path: root/apps/codecs/libFLAC/stream_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libFLAC/stream_decoder.c')
-rw-r--r--apps/codecs/libFLAC/stream_decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libFLAC/stream_decoder.c b/apps/codecs/libFLAC/stream_decoder.c
index 845ff90131..ec43314fe9 100644
--- a/apps/codecs/libFLAC/stream_decoder.c
+++ b/apps/codecs/libFLAC/stream_decoder.c
@@ -180,7 +180,7 @@ FLAC_API const char * const FLAC__StreamDecoderErrorStatusString[] = {
180 * Class constructor/destructor 180 * Class constructor/destructor
181 * 181 *
182 ***********************************************************************/ 182 ***********************************************************************/
183FLAC_API FLAC__StreamDecoder *FLAC__stream_decoder_new() 183FLAC_API FLAC__StreamDecoder *FLAC__stream_decoder_new(void)
184{ 184{
185 FLAC__StreamDecoder *decoder; 185 FLAC__StreamDecoder *decoder;
186 unsigned i; 186 unsigned i;
@@ -1828,7 +1828,7 @@ FLAC__bool read_subframe_(FLAC__StreamDecoder *decoder, unsigned channel, unsign
1828 x &= 0xfe; 1828 x &= 0xfe;
1829 1829
1830 if(wasted_bits) { 1830 if(wasted_bits) {
1831 unsigned u; 1831 FLAC__uint32 u;
1832 if(!FLAC__bitbuffer_read_unary_unsigned(decoder->private_->input, &u, read_callback_, decoder)) 1832 if(!FLAC__bitbuffer_read_unary_unsigned(decoder->private_->input, &u, read_callback_, decoder))
1833 return false; /* the read_callback_ sets the state for us */ 1833 return false; /* the read_callback_ sets the state for us */
1834 decoder->private_->frame.subframes[channel].wasted_bits = u+1; 1834 decoder->private_->frame.subframes[channel].wasted_bits = u+1;