mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
Use fixed-length array in revert_mclms()
This commit is contained in:
parent
d1ea26f640
commit
7f215e3e72
@ -885,7 +885,7 @@ static void mclms_predict(WmallDecodeCtx *s, int icoef, int *pred)
|
||||
|
||||
static void revert_mclms(WmallDecodeCtx *s, int tile_size)
|
||||
{
|
||||
int icoef, pred[s->num_channels];
|
||||
int icoef, pred[WMALL_MAX_CHANNELS] = {0};
|
||||
for (icoef = 0; icoef < tile_size; icoef++) {
|
||||
mclms_predict(s, icoef, pred);
|
||||
mclms_update(s, icoef, pred);
|
||||
|
Loading…
Reference in New Issue
Block a user