mirror of https://git.ffmpeg.org/ffmpeg.git
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