From 5c805d69a49a1f32a7a8a1b16fb3d631d85ca56d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 13 Nov 2014 20:40:37 +0100 Subject: avcodec/nellymoserenc: fix sign error Signed-off-by: Michael Niedermayer --- libavcodec/nellymoserenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/nellymoserenc.c') diff --git a/libavcodec/nellymoserenc.c b/libavcodec/nellymoserenc.c index 9bbdd52426..78f1092b56 100644 --- a/libavcodec/nellymoserenc.c +++ b/libavcodec/nellymoserenc.c @@ -175,7 +175,7 @@ static av_cold int encode_init(AVCodecContext *avctx) /* Generate overlap window */ ff_init_ff_sine_windows(7); for (i = 0; i < POW_TABLE_SIZE; i++) - pow_table[i] = -pow(2, -i / 2048.0 - 3.0 + POW_TABLE_OFFSET); + pow_table[i] = pow(2, -i / 2048.0 - 3.0 + POW_TABLE_OFFSET); if (s->avctx->trellis) { s->opt = av_malloc(NELLY_BANDS * OPT_SIZE * sizeof(float )); -- cgit v1.2.1