diff options
author | Claudio Freire <klaussfreire@gmail.com> | 2016-01-08 05:16:18 -0300 |
---|---|---|
committer | Claudio Freire <klaussfreire@gmail.com> | 2016-01-13 05:28:34 -0300 |
commit | 4dcb69cc12d00d46f93a07178e2087a8d27c8f64 (patch) | |
tree | cb97064df3dfb39ed17e408e5befc810443dac11 /libavcodec/aaccoder.c | |
parent | 509f168017462cf301d16e3c406337072c81c783 (diff) | |
download | ffmpeg-4dcb69cc12d00d46f93a07178e2087a8d27c8f64.tar.gz |
AAC encoder: in IS, fix index of sf_idx, band_type
Correct addressing of sf_idx and band_type arrays in I/S code.
Both arrays don't guarantee valid values for subwindows at all
times, depending on which coder is being used, which could result
in reading of garbage values. Instead, only the first subwindow
in the window group has to be used, ie: use w*16+g instead of
(w+w2)*16+g
Diffstat (limited to 'libavcodec/aaccoder.c')
0 files changed, 0 insertions, 0 deletions