diff --git a/lib/rbcodec/dsp/tdspeed.c b/lib/rbcodec/dsp/tdspeed.c index 8f32a62e0e..92dfb31bed 100644 --- a/lib/rbcodec/dsp/tdspeed.c +++ b/lib/rbcodec/dsp/tdspeed.c @@ -336,8 +336,8 @@ skip:; for (int ch = 0; ch < st->channels; ch++) { - memcpy(st->ovl_buff[ch], buf_in[ch] + i, - st->ovl_size * sizeof(int32_t)); + memmove(st->ovl_buff[ch], buf_in[ch] + i, + st->ovl_size * sizeof(int32_t)); } if (consumed)