---
libavcodec/ac3enc.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git libavcodec/ac3enc.c libavcodec/ac3enc.c
index ccf0c28..1d6f478 100644
--- libavcodec/ac3enc.c
+++ libavcodec/ac3enc.c
@@ -388,18 +388,14 @@ static void apply_mdct(AC3EncodeContext *s)
int blk, ch;
for (ch = 0; ch < s->channels; ch++) {
- /* fixed mdct to the six sub blocks & exponent computation */
for (blk = 0; blk < AC3_MAX_BLOCKS; blk++) {
int16_t *input_samples = &s->planar_samples[ch][blk * AC3_BLOCK_SIZE];
- /* apply the MDCT window */
apply_window(s->windowed_samples, input_samples, ff_ac3_window,
AC3_BLOCK_SIZE*2);
- /* Normalize the samples to use the maximum available precision */
s->blocks[blk].exp_shift[ch] = normalize_samples(s);
- /* do the MDCT */
calc_mdct(&s->mdct, s->blocks[blk].mdct_coef[ch], s->windowed_samples);
}
}
@@ -413,9 +409,7 @@ static void calculate_exponents(AC3EncodeContext *s)
int ch, blk, i, v;
for (ch = 0; ch < s->channels; ch++) {
- /* fixed mdct to the six sub blocks & exponent computation */
for (blk = 0; blk < AC3_MAX_BLOCKS; blk++) {
- /* compute "exponents". We take into account the normalization there */
AC3Block *block = &s->blocks[blk];
for (i = 0; i < AC3_MAX_COEFS; i++) {
int e;
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc