diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-01 06:07:05 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-01 06:07:05 +0200 |
commit | fe70c1f45f108c73ebb9c23009e271a96336796f (patch) | |
tree | da34f29d98a5e7bc618d66072dd92ce26a8bc5f0 /libavcodec/g729postfilter.c | |
parent | 9cb9e39c41959961bdb5a1fd51cdd25e10c050f3 (diff) | |
download | ffmpeg-fe70c1f45f108c73ebb9c23009e271a96336796f.tar.gz |
g729dec: prevent out of array access
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/g729postfilter.c')
-rw-r--r-- | libavcodec/g729postfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/g729postfilter.c b/libavcodec/g729postfilter.c index 2b66bde661..87472f694c 100644 --- a/libavcodec/g729postfilter.c +++ b/libavcodec/g729postfilter.c @@ -516,7 +516,7 @@ void ff_g729_postfilter(DSPContext *dsp, int16_t* ht_prev_data, int* voicing, int16_t* residual, int16_t* res_filter_data, int16_t* pos_filter_data, int16_t *speech, int subframe_size) { - int16_t residual_filt_buf[SUBFRAME_SIZE+10]; + int16_t residual_filt_buf[SUBFRAME_SIZE+11]; int16_t lp_gn[33]; // (3.12) int16_t lp_gd[11]; // (3.12) int tilt_comp_coeff; |