Quoting Vittorio Giovara (2014-11-11 13:26:57) > CC: [email protected] > Bug-Id: CID 732258 > --- > libavcodec/nellymoserenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/nellymoserenc.c b/libavcodec/nellymoserenc.c > index 302c69c..98c2b39 100644 > --- a/libavcodec/nellymoserenc.c > +++ b/libavcodec/nellymoserenc.c > @@ -231,7 +231,7 @@ static void get_exponent_dynamic(NellyMoserEncodeContext > *s, float *cand, int *i > float (*opt )[OPT_SIZE] = s->opt ; > 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; > }
I think the intent here was to initialize the whole array, so the patch is not correct. -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
