summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbcodec/dsp/tdspeed.c4
1 files changed, 2 insertions, 2 deletions
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:;
336 336
337 for (int ch = 0; ch < st->channels; ch++) 337 for (int ch = 0; ch < st->channels; ch++)
338 { 338 {
339 memcpy(st->ovl_buff[ch], buf_in[ch] + i, 339 memmove(st->ovl_buff[ch], buf_in[ch] + i,
340 st->ovl_size * sizeof(int32_t)); 340 st->ovl_size * sizeof(int32_t));
341 } 341 }
342 342
343 if (consumed) 343 if (consumed)