diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-08-29 19:21:35 +0100 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-08-29 19:21:35 +0100 |
commit | e924967fd5ec240cf97022f054cb02a0bc7101d9 (patch) | |
tree | a0a14f8c9b0710b43654cc960211856a229a93aa /libavcodec/mpeg4audio.c | |
parent | 902ac9ca74d5d39752f9cf42e9432d5a910e9650 (diff) | |
download | ffmpeg-e924967fd5ec240cf97022f054cb02a0bc7101d9.tar.gz |
aacenc_tns: fix out-of-bounds array access
Since the coefficients are stepped up to order + 1 it was possible
that it went over TNS_MAX_ORDER. Also just return in case the only
coefficient is less than the threshold.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/mpeg4audio.c')
0 files changed, 0 insertions, 0 deletions