Revision 144fec83 libavcodec/aac.c

View differences:

libavcodec/aac.c
527 527
    // 32768 - Required to scale values to the correct range for the bias method
528 528
    //         for float to int16 conversion.
529 529

  
530
    if (ac->dsp.float_to_int16 == ff_float_to_int16_c) {
530
    if (ac->dsp.float_to_int16_interleave == ff_float_to_int16_interleave_c) {
531 531
        ac->add_bias  = 385.0f;
532 532
        ac->sf_scale  = 1. / (-1024. * 32768.);
533 533
        ac->sf_offset = 0;

Also available in: Unified diff