imc: fix size of a memset()
IMCContext was changed from an array to a pointer in 66b84e4,
but this memset() was not updated.
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
2b6804328e
commit
bc90230b98
1 changed files with 1 additions and 1 deletions
|
|
@ -789,7 +789,7 @@ static int imc_decode_block(AVCodecContext *avctx, IMCContext *q, int ch)
|
|||
chctx->decoder_reset = 1;
|
||||
|
||||
if (chctx->decoder_reset) {
|
||||
memset(q->out_samples, 0, sizeof(q->out_samples));
|
||||
memset(q->out_samples, 0, COEFFS * sizeof(*q->out_samples));
|
||||
for (i = 0; i < BANDS; i++)
|
||||
chctx->old_floor[i] = 1.0;
|
||||
for (i = 0; i < COEFFS; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue