$OpenBSD: patch-lib_spandsp_plc_c,v 1.1 2017/01/02 12:56:06 sebastia Exp $

memcpy -> memmove

--- lib/spandsp/plc.c.orig	Mon Jan  2 12:29:58 2017
+++ lib/spandsp/plc.c	Mon Jan  2 12:33:28 2017
@@ -99,7 +99,7 @@ static void normalise_history(plc_state_t *s)
     if (s->buf_ptr == 0)
         return;
     memcpy(tmp, s->history, sizeof(int16_t)*s->buf_ptr);
-    memcpy(s->history, s->history + s->buf_ptr, sizeof(int16_t)*(PLC_HISTORY_LEN - s->buf_ptr));
+    memmove(s->history, s->history + s->buf_ptr, sizeof(int16_t)*(PLC_HISTORY_LEN - s->buf_ptr));
     memcpy(s->history + PLC_HISTORY_LEN - s->buf_ptr, tmp, sizeof(int16_t)*s->buf_ptr);
     s->buf_ptr = 0;
 }
