aacenc: use av_clip() instead of av_clip() during quantization
authorRostislav Pehlivanov <atomnuker@gmail.com>
Tue, 29 Mar 2016 23:58:28 +0000 (00:58 +0100)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Wed, 30 Mar 2016 00:04:43 +0000 (01:04 +0100)
commitc0918613a0ecaac6819409c64107583eebc0ccc2
treec1d986354cda91822c1fb433e0dc52485747d316
parentbf1495d9a991dd13e382a4c1871d96708fdec4e7
aacenc: use av_clip() instead of av_clip() during quantization

Seems like clang might be miscompiling it and causing a signed integer overflow,
making a FATE test fail.
Doesn't seem to affect performance, it only runs on the ESC codebook.

Reviewed-by: Claudio Freire <klaussfreire@gmail.com>
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
libavcodec/aacenc_quantization.h