mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Removed memcpy use
This commit is contained in:
parent
e8cac7de4d
commit
c956c5a024
3 changed files with 12 additions and 12 deletions
|
|
@ -357,7 +357,7 @@ static int snd_pcm_plug_stream_params(snd_pcm_t *pcm, snd_pcm_stream_params_t *p
|
|||
snd_pcm_plug_clear(pcm, stream);
|
||||
|
||||
/* add necessary plugins */
|
||||
memcpy(¶ms1, params, sizeof(*params));
|
||||
params1 = *params;
|
||||
if ((err = snd_pcm_plug_format(pcm, ¶ms1, &slave_params)) < 0)
|
||||
return err;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue