• Claudio Freire's avatar
    AAC encoder: fix signed integer overflow · c883da6b
    Claudio Freire authored
    Clamp scalefactors by coef2minsf to avoid undefined behavior
    caused by signed integer overflow. It also avoids clipping of
    coefficients so it should avoid artifacts as well, on very
    rare corner cases.
    c883da6b
aaccoder_twoloop.h 34.6 KB