sipr: Use memmove() to copy overlapped buffers.
This commit is contained in:
parent
0c17beba97
commit
cb372931ff
@ -461,7 +461,7 @@ static void decode_frame(SiprContext *ctx, SiprParameters *params,
|
|||||||
memcpy(ctx->postfilter_syn5k0, ctx->postfilter_syn5k0 + frame_size,
|
memcpy(ctx->postfilter_syn5k0, ctx->postfilter_syn5k0 + frame_size,
|
||||||
LP_FILTER_ORDER*sizeof(float));
|
LP_FILTER_ORDER*sizeof(float));
|
||||||
}
|
}
|
||||||
memcpy(ctx->excitation, excitation - PITCH_DELAY_MAX - L_INTERPOL,
|
memmove(ctx->excitation, excitation - PITCH_DELAY_MAX - L_INTERPOL,
|
||||||
(PITCH_DELAY_MAX + L_INTERPOL) * sizeof(float));
|
(PITCH_DELAY_MAX + L_INTERPOL) * sizeof(float));
|
||||||
|
|
||||||
ff_acelp_apply_order_2_transfer_function(out_data, synth,
|
ff_acelp_apply_order_2_transfer_function(out_data, synth,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user