summaryrefslogtreecommitdiffstats
path: root/libavutil/error.c
diff options
context:
space:
mode:
authorRostislav Pehlivanov <[email protected]>2015-08-29 19:21:35 +0100
committerRostislav Pehlivanov <[email protected]>2015-08-29 19:21:35 +0100
commite924967fd5ec240cf97022f054cb02a0bc7101d9 (patch)
treea0a14f8c9b0710b43654cc960211856a229a93aa /libavutil/error.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 <[email protected]>
Diffstat (limited to 'libavutil/error.c')
0 files changed, 0 insertions, 0 deletions