Merge remote-tracking branch 'shariman/wmall'

* shariman/wmall:
  Pass pointer to integer buffer instead of integer to memcpy

Merged-by: Michael Niedermayer <michaelni@gmx.at>
pull/2/head
Michael Niedermayer 13 years ago
commit 15c481614b
  1. 4
      libavcodec/wmalosslessdec.c

@ -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;

Loading…
Cancel
Save