summaryrefslogtreecommitdiff
path: root/libavcodec/sipr.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2011-06-18 15:42:57 -0700
committerAlex Converse <alex.converse@gmail.com>2011-06-18 22:12:21 -0700
commitcb372931ff3e55e47965db7b02c01df1e1b6a043 (patch)
treef806f32a9615ca0a8c2bbaa6ca889628187a24d6 /libavcodec/sipr.c
parent0c17beba97c600b38926f98e11f0436e20445261 (diff)
sipr: Use memmove() to copy overlapped buffers.
Diffstat (limited to 'libavcodec/sipr.c')
-rw-r--r--libavcodec/sipr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/sipr.c b/libavcodec/sipr.c
index 17e7e855ed..f4f12d8c4d 100644
--- a/libavcodec/sipr.c
+++ b/libavcodec/sipr.c
@@ -461,7 +461,7 @@ static void decode_frame(SiprContext *ctx, SiprParameters *params,
memcpy(ctx->postfilter_syn5k0, ctx->postfilter_syn5k0 + frame_size,
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));
ff_acelp_apply_order_2_transfer_function(out_data, synth,