mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Pass pointer to integer buffer instead of integer to memcpy
This commit is contained in:
parent
c5cd231151
commit
6d4deecfdf
@ -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…
x
Reference in New Issue
Block a user