diff options
Diffstat (limited to 'libavcodec/wmalosslessdec.c')
-rw-r--r-- | libavcodec/wmalosslessdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c index bac064ff3d..50c4725045 100644 --- a/libavcodec/wmalosslessdec.c +++ b/libavcodec/wmalosslessdec.c @@ -960,7 +960,7 @@ static int decode_subframe(WmallDecodeCtx *s) use_normal_update_speed(s, i); revert_cdlms(s, i, 0, subframe_len); } else - memset(s->channel_residues, 0, sizeof(s->channel_residues)); + memset(s->channel_residues[i], 0, sizeof(s->channel_residues[i])); } if (s->do_mclms) revert_mclms(s, subframe_len); |