mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec/wmalosslessdec: use sizeof() instead of literal number
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f21d0beb0c
commit
2a03eb4c99
1 changed files with 2 additions and 2 deletions
|
|
@ -652,10 +652,10 @@ static void mclms_update(WmallDecodeCtx *s, int icoef, int *pred)
|
|||
if (s->mclms_recent == 0) {
|
||||
memcpy(&s->mclms_prevvalues[order * num_channels],
|
||||
s->mclms_prevvalues,
|
||||
2 * order * num_channels);
|
||||
sizeof(int16_t) * order * num_channels);
|
||||
memcpy(&s->mclms_updates[order * num_channels],
|
||||
s->mclms_updates,
|
||||
2 * order * num_channels);
|
||||
sizeof(int16_t) * order * num_channels);
|
||||
s->mclms_recent = num_channels * order;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue