summaryrefslogtreecommitdiff
path: root/libavcodec/ac3enc_fixed.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-04-05 12:55:42 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-04-26 17:19:37 -0400
commit79ee8977c25eee2408ef7b2822f377a983e4d65b (patch)
treecc8ce71bbb1dcf6a26b9c8e0f2ab795fcc7b42a7 /libavcodec/ac3enc_fixed.c
parente6ff064845d02c43526c8a56dab121c219f16659 (diff)
ac3enc: correct the flipped sign in the ac3_fixed encoder
Diffstat (limited to 'libavcodec/ac3enc_fixed.c')
-rw-r--r--libavcodec/ac3enc_fixed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3enc_fixed.c b/libavcodec/ac3enc_fixed.c
index e64384122a..800ef8f92c 100644
--- a/libavcodec/ac3enc_fixed.c
+++ b/libavcodec/ac3enc_fixed.c
@@ -47,7 +47,7 @@ static av_cold void mdct_end(AC3MDCTContext *mdct)
static av_cold int mdct_init(AVCodecContext *avctx, AC3MDCTContext *mdct,
int nbits)
{
- int ret = ff_mdct_init(&mdct->fft, nbits, 0, 1.0);
+ int ret = ff_mdct_init(&mdct->fft, nbits, 0, -1.0);
mdct->window = ff_ac3_window;
return ret;
}