[flac-dev] [PATCH] stream_encoder.c: fix subframe_bps comparison

Erik de Castro Lopo mle+la at mega-nerd.com
Tue Oct 13 12:35:30 PDT 2015

lvqcl wrote:

> libFLAC limits the value of qlp_coeff_precision to make
> sure that 32-bit math is enough for decoding of 16-bit audio.
> subframe_bps can be equal to 17 for 16-bit input (for side channel).
> So the value of subframe_bps should be compared with 17, not 16
> (see also http://git.xiph.org/?p=flac.git;a=blob;f=src/libFLAC/stream_encoder.c;hb=02591f6b4b09e7c6e26bd2ae7225ff2810b227bb#l3431 )

Applied. Thanks.

Erik de Castro Lopo

More information about the flac-dev mailing list