From: Josh Coalson Date: Fri, 17 May 2002 06:17:17 +0000 (+0000) Subject: minor comments X-Git-Tag: 1.2.0~1932 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=347e35b6f75a6af33937e32efe5f94c102da2cba;p=platform%2Fupstream%2Fflac.git minor comments --- diff --git a/src/flac/decode.c b/src/flac/decode.c index 9ab2440..715bd92 100644 --- a/src/flac/decode.c +++ b/src/flac/decode.c @@ -607,7 +607,6 @@ FLAC__StreamDecoderWriteStatus write_callback(const void *decoder, const FLAC__F FLAC__bool is_unsigned_samples = (stream_info->is_wave_out? bps<=8 : stream_info->is_unsigned_samples); unsigned wide_samples = frame->header.blocksize, wide_sample, sample, channel, byte; static FLAC__int8 s8buffer[FLAC__MAX_BLOCK_SIZE * FLAC__MAX_CHANNELS * sizeof(FLAC__int32)]; /* WATCHOUT: can be up to 2 megs */ - /* WATCHOUT: we say 'sizeof(FLAC__int32)' above instead of '(FLAC__MAX_BITS_PER_SAMPLE+7)/8' because we have to use an array FLAC__int32 even for 24 bps */ FLAC__uint8 *u8buffer = (FLAC__uint8 *)s8buffer; FLAC__int16 *s16buffer = (FLAC__int16 *)s8buffer; FLAC__uint16 *u16buffer = (FLAC__uint16 *)s8buffer;