stream_encoder.c has the following code:

        /* try to keep qlp coeff precision such that only 32-bit math is required 
for decode of <=16bps streams */
        if(subframe_bps <= 16) {
...


But FLAC can convert 16-bit input to 17-bit if mid-side coding is used.
So, does it make sense to compare subframe_bps with 17?

(The patch is attached. What do you think about it?)

Attachment: bps.patch
Description: Binary data

_______________________________________________
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to