Merge remote-tracking branch 'shariman/wmall'
[ffmpeg.git] / libavcodec / wmalosslessdec.c
index 03fbb1fdb835525302ccd965db0f8aa62586b4ee..2b32bccba10a4503b26be305796d645a35d1913a 100644 (file)
@@ -834,10 +834,10 @@ static void mclms_update(WmallDecodeCtx *s, int icoef)
     }
 
     if (s->mclms_recent == 0) {
-        memcpy(s->mclms_prevvalues[order * num_channels],
+        memcpy(&s->mclms_prevvalues[order * num_channels],
                s->mclms_prevvalues,
                bps * order * num_channels);
-        memcpy(s->mclms_updates[order * num_channels],
+        memcpy(&s->mclms_updates[order * num_channels],
                s->mclms_updates,
                bps * order * num_channels);
         s->mclms_recent = num_channels * order;