Revision b41ec742 libavcodec/binkaudio.c

View differences:

libavcodec/binkaudio.c
222 222
            ff_rdft_calc(&s->trans.rdft, coeffs);
223 223
    }
224 224

  
225
    if (s->dsp.float_to_int16_interleave == ff_float_to_int16_interleave_c) {
226
        for (i = 0; i < s->channels; i++)
227
            for (j = 0; j < s->frame_len; j++)
228
                s->coeffs_ptr[i][j] = 385.0 + s->coeffs_ptr[i][j]*(1.0/32767.0);
229
    }
225 230
    s->dsp.float_to_int16_interleave(out, (const float **)s->coeffs_ptr, s->frame_len, s->channels);
226 231

  
227 232
    if (!s->first) {

Also available in: Unified diff