Reset acfilter_prevvalues buffer in clear_codec_buffers()

pull/3/head
Mashiat Sarker Shakkhar 13 years ago
parent 001a74ff53
commit 8dc8dd9f6f
  1. 1
      libavcodec/wmalosslessdec.c

@ -752,6 +752,7 @@ static void clear_codec_buffers(WmallDecodeCtx *s)
memset(s->acfilter_coeffs, 0, 16 * sizeof(int));
memset(s->lpc_coefs , 0, 40 * 2 * sizeof(int));
memset(s->acfilter_prevvalues, 0, 16 * 2 * sizeof(int)); // may be wrong
memset(s->mclms_coeffs , 0, 128 * sizeof(int16_t));
memset(s->mclms_coeffs_cur, 0, 4 * sizeof(int16_t));

Loading…
Cancel
Save