Revision 911e21a3 libavcodec/ac3dec.c

View differences:

libavcodec/ac3dec.c
994 994
        } else {
995 995
            gain *= s->dynamic_range[0];
996 996
        }
997
        for(i=0; i<256; i++) {
998
            s->transform_coeffs[ch][i] = s->fixed_coeffs[ch][i] * gain;
999
        }
997
        s->dsp.int32_to_float_fmul_scalar(s->transform_coeffs[ch], s->fixed_coeffs[ch], gain, 256);
1000 998
    }
1001 999

  
1002 1000
    /* downmix and MDCT. order depends on whether block switching is used for

Also available in: Unified diff