aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/common.h
diff options
context:
space:
mode:
authorClaudio Freire <klaussfreire@gmail.com>2016-03-30 10:05:03 -0300
committerClaudio Freire <klaussfreire@gmail.com>2016-03-30 10:05:03 -0300
commitc883da6bf4610ee37848687346f543dfb73de011 (patch)
tree0b22f3c8409fcd23bf786dda197cde2d537440cd /libavutil/common.h
parentb3557c79dcd8c3415a7de06d51294ed79e4489bf (diff)
downloadffmpeg-c883da6bf4610ee37848687346f543dfb73de011.tar.gz
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.
Diffstat (limited to 'libavutil/common.h')
0 files changed, 0 insertions, 0 deletions