diff options
author | Claudio Freire <klaussfreire@gmail.com> | 2016-03-30 10:05:03 -0300 |
---|---|---|
committer | Claudio Freire <klaussfreire@gmail.com> | 2016-03-30 10:05:03 -0300 |
commit | c883da6bf4610ee37848687346f543dfb73de011 (patch) | |
tree | 0b22f3c8409fcd23bf786dda197cde2d537440cd /libavutil/common.h | |
parent | b3557c79dcd8c3415a7de06d51294ed79e4489bf (diff) | |
download | ffmpeg-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