Browse Source

g729dec: prevent out of array access

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 14 years ago
parent
commit
fe70c1f45f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/g729postfilter.c

+ 1
- 1
libavcodec/g729postfilter.c View File

@@ -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* residual, int16_t* res_filter_data,
int16_t* pos_filter_data, int16_t *speech, int subframe_size) 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_gn[33]; // (3.12)
int16_t lp_gd[11]; // (3.12) int16_t lp_gd[11]; // (3.12)
int tilt_comp_coeff; int tilt_comp_coeff;


Loading…
Cancel
Save