Module: libav Branch: master Commit: bdcb5794f0c2d74371152303bffe4172671af264
Author: Vittorio Giovara <[email protected]> Committer: Vittorio Giovara <[email protected]> Date: Tue Nov 11 13:26:57 2014 +0100 nellymoserenc: fix array index 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; } _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
