Pass pointer to integer buffer instead of integer to memcpy

parent c5cd2311
...@@ -834,10 +834,10 @@ static void mclms_update(WmallDecodeCtx *s, int icoef) ...@@ -834,10 +834,10 @@ static void mclms_update(WmallDecodeCtx *s, int icoef)
} }
if (s->mclms_recent == 0) { if (s->mclms_recent == 0) {
memcpy(s->mclms_prevvalues[order * num_channels], memcpy(&s->mclms_prevvalues[order * num_channels],
s->mclms_prevvalues, s->mclms_prevvalues,
bps * order * num_channels); bps * order * num_channels);
memcpy(s->mclms_updates[order * num_channels], memcpy(&s->mclms_updates[order * num_channels],
s->mclms_updates, s->mclms_updates,
bps * order * num_channels); bps * order * num_channels);
s->mclms_recent = num_channels * order; s->mclms_recent = num_channels * order;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment