Skip to content

Resolve "Crash in 48kbps stereo decoding due to negative q value in fix16_to_float function"

Closes #697 (closed)

[x] The crash occurs due to st->cngTDLevel_e coming greater than 15, which was leading to -ve Q which was not handled by fix16_to_float() while converting st->cngTDLevel to st->cngTDLevel_float. [x] Used fixedToFloat() instead of fix16_to_float() which is able to handle -ve Q.

Edited by Sandesh Venkatesh

Merge request reports

Loading