diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2015-04-25 08:16:27 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2015-04-25 08:16:34 +1000 |
commit | bc1f15db29cde0d8b46051160335e77748211123 (patch) | |
tree | 2c28cdffe5bd9e5eb6193d135914dcd16766bcb8 /src/libFLAC/stream_decoder.c | |
parent | a84587061cab4d55fa2668ea431d3b61e711c8a3 (diff) | |
download | flac-bc1f15db29cde0d8b46051160335e77748211123.tar.gz |
Remove old incorrect comment
As discussed on the flac-dev mailing list.
Patch-from: lvqcl <lvqcl.mail@gmail.com>
Diffstat (limited to 'src/libFLAC/stream_decoder.c')
-rw-r--r-- | src/libFLAC/stream_decoder.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libFLAC/stream_decoder.c b/src/libFLAC/stream_decoder.c index 2e527aa0..3bdd0f1e 100644 --- a/src/libFLAC/stream_decoder.c +++ b/src/libFLAC/stream_decoder.c @@ -2705,9 +2705,6 @@ FLAC__bool read_subframe_lpc_(FLAC__StreamDecoder *decoder, unsigned channel, un /* decode the subframe */ if(do_full_decode) { memcpy(decoder->private_->output[channel], subframe->warmup, sizeof(FLAC__int32) * order); - /*@@@@@@ technically not pessimistic enough, should be more like - if( (FLAC__uint64)order * ((((FLAC__uint64)1)<<bps)-1) * ((1<<subframe->qlp_coeff_precision)-1) < (((FLAC__uint64)-1) << 32) ) - */ if(bps + subframe->qlp_coeff_precision + FLAC__bitmath_ilog2(order) <= 32) if(bps <= 16 && subframe->qlp_coeff_precision <= 16) decoder->private_->local_lpc_restore_signal_16bit(decoder->private_->residual[channel], decoder->private_->frame.header.blocksize-order, subframe->qlp_coeff, order, subframe->quantization_level, decoder->private_->output[channel]+order); |