Skip to content

Avoid possible saturations in ACELP LSF encoder

Basic info

This is a follow up of #1979 (closed), see also discussion in !2184 (merged).

The LSF encoding routine contain multiplication operations that can theoretically saturate. Thus a _sat() operation should be used at all fragile parts, e.g. at !2184 (comment 86296).