mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-05 14:26:17 +00:00
g729dec: prevent out of array access
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
9cb9e39c41
commit
fe70c1f45f
@ -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…
Reference in New Issue
Block a user