Revision 8955a9d7 libavcodec/sipr.c

View differences:

libavcodec/sipr.c
490 490
    memcpy(ctx->excitation, excitation - PITCH_DELAY_MAX - L_INTERPOL,
491 491
           (PITCH_DELAY_MAX + L_INTERPOL) * sizeof(float));
492 492

  
493
    ff_acelp_apply_order_2_transfer_function(synth,
493
    ff_acelp_apply_order_2_transfer_function(out_data, synth,
494 494
                                             (const float[2]) {-1.99997   , 1.000000000},
495 495
                                             (const float[2]) {-1.93307352, 0.935891986},
496 496
                                             0.939805806,
497 497
                                             ctx->highpass_filt_mem,
498 498
                                             frame_size);
499 499

  
500
    ctx->dsp.vector_clipf(out_data, synth, -1, 32767./(1<<15), frame_size);
500
    ctx->dsp.vector_clipf(out_data, out_data, -1, 32767./(1<<15), frame_size);
501 501

  
502 502
}
503 503

  

Also available in: Unified diff