diff options
author | Alex Converse <alex.converse@gmail.com> | 2012-12-11 17:26:10 -0800 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2012-12-12 13:22:10 -0800 |
commit | 6d5b0092678b2a95dfe209a207550bd2fe9ef646 (patch) | |
tree | 6de4124cfdf5625586b54533654594f011a11808 /libavcodec | |
parent | 140367aff9284a913aaf207f949cb7b116e1b197 (diff) | |
download | ffmpeg-6d5b0092678b2a95dfe209a207550bd2fe9ef646.tar.gz |
aacdec: Fix an off-by-one overwrite when switching to LTP profile from MAIN.
Found-by: pawlkt
CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/aacdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c index f3e9be4aa3..d10a482cad 100644 --- a/libavcodec/aacdec.c +++ b/libavcodec/aacdec.c @@ -2003,7 +2003,7 @@ static void apply_tns(float coef[1024], TemporalNoiseShaping *tns, int w, filt, m, i; int bottom, top, order, start, end, size, inc; float lpc[TNS_MAX_ORDER]; - float tmp[TNS_MAX_ORDER]; + float tmp[TNS_MAX_ORDER + 1]; for (w = 0; w < ics->num_windows; w++) { bottom = ics->num_swb; |