diff options
author | Mans Rullgard <mans@mansr.com> | 2011-03-21 18:07:59 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-04-03 19:01:53 +0100 |
commit | 79997def65fd2313b48a5f3c3a884c6149ae9b5d (patch) | |
tree | e137d4180c580bc28ada1bcb60a4aea66ac01729 /libavcodec/ac3enc_float.c | |
parent | aadfc9ee747eeb37f9ea77c0cc56a88226b9d21b (diff) | |
download | ffmpeg-79997def65fd2313b48a5f3c3a884c6149ae9b5d.tar.gz |
ac3enc: use generic fixed-point mdct
This makes the AC3 encoder use the shared fixed-point MDCT rather
than its own implementation. The checksum changes are due to
different rounding in the MDCT.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/ac3enc_float.c')
-rw-r--r-- | libavcodec/ac3enc_float.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libavcodec/ac3enc_float.c b/libavcodec/ac3enc_float.c index 19afd27bb1..d2435dee15 100644 --- a/libavcodec/ac3enc_float.c +++ b/libavcodec/ac3enc_float.c @@ -69,17 +69,6 @@ static av_cold int mdct_init(AVCodecContext *avctx, AC3MDCTContext *mdct, /** - * Calculate a 512-point MDCT - * @param out 256 output frequency coefficients - * @param in 512 windowed input audio samples - */ -static void mdct512(AC3MDCTContext *mdct, float *out, float *in) -{ - mdct->fft.mdct_calc(&mdct->fft, out, in); -} - - -/** * Apply KBD window to input samples prior to MDCT. */ static void apply_window(DSPContext *dsp, float *output, const float *input, |