AAC encoder: fix signed integer overflow
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.
Showing
Please
register
or
sign in
to comment