summaryrefslogtreecommitdiff
path: root/libavcodec/lpc.c
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2015-08-29 19:21:35 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2015-08-29 19:21:35 +0100
commite924967fd5ec240cf97022f054cb02a0bc7101d9 (patch)
treea0a14f8c9b0710b43654cc960211856a229a93aa /libavcodec/lpc.c
parent902ac9ca74d5d39752f9cf42e9432d5a910e9650 (diff)
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/lpc.c')
0 files changed, 0 insertions, 0 deletions