mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-17 06:46:24 -04:00
add spa_memcpy to more places
Use spa_memcpy yo where we memcpy data so that when the debug option is enabled we can see more.
This commit is contained in:
parent
54aba261d2
commit
adad89dc0e
4 changed files with 12 additions and 12 deletions
|
|
@ -243,7 +243,7 @@ static void ffmpeg_run(void *instance, unsigned long SampleCount)
|
|||
delay);
|
||||
|
||||
for (j = 0; j < desc->layout[c].nb_channels; j++)
|
||||
memcpy(i->data[d++], i->frame->data[j], SampleCount * sizeof(float));
|
||||
spa_memcpy(i->data[d++], i->frame->data[j], SampleCount * sizeof(float));
|
||||
|
||||
av_frame_unref(i->frame);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue