mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 19:58:59 +00:00
aacdec: Fix an off-by-one overwrite when switching to LTP profile from MAIN.
Found-by: pawlkt CC: libav-stable@libav.org
This commit is contained in:
parent
140367aff9
commit
6d5b009267
@ -2003,7 +2003,7 @@ static void apply_tns(float coef[1024], TemporalNoiseShaping *tns,
|
|||||||
int w, filt, m, i;
|
int w, filt, m, i;
|
||||||
int bottom, top, order, start, end, size, inc;
|
int bottom, top, order, start, end, size, inc;
|
||||||
float lpc[TNS_MAX_ORDER];
|
float lpc[TNS_MAX_ORDER];
|
||||||
float tmp[TNS_MAX_ORDER];
|
float tmp[TNS_MAX_ORDER + 1];
|
||||||
|
|
||||||
for (w = 0; w < ics->num_windows; w++) {
|
for (w = 0; w < ics->num_windows; w++) {
|
||||||
bottom = ics->num_swb;
|
bottom = ics->num_swb;
|
||||||
|
Loading…
Reference in New Issue
Block a user