mirror of https://git.ffmpeg.org/ffmpeg.git
nellymoserenc: fix array index
CC: libav-stable@libav.org Bug-Id: CID 732258
This commit is contained in:
parent
aa7c429c4e
commit
bdcb5794f0
|
@ -231,7 +231,7 @@ static void get_exponent_dynamic(NellyMoserEncodeContext *s, float *cand, int *i
|
||||||
float (*opt )[OPT_SIZE] = s->opt ;
|
float (*opt )[OPT_SIZE] = s->opt ;
|
||||||
uint8_t(*path)[OPT_SIZE] = s->path;
|
uint8_t(*path)[OPT_SIZE] = s->path;
|
||||||
|
|
||||||
for (i = 0; i < NELLY_BANDS * OPT_SIZE; i++) {
|
for (i = 0; i < OPT_SIZE; i++) {
|
||||||
opt[0][i] = INFINITY;
|
opt[0][i] = INFINITY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue