mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Fix segfault of iec958 plugin with preamble
Fix segfault of iec958 plugin with preamble (bug#1571).
This commit is contained in:
parent
c2f446b0a4
commit
52372e0187
1 changed files with 1 additions and 1 deletions
|
|
@ -620,7 +620,7 @@ int _snd_pcm_iec958_open(snd_pcm_t **pcmp, const char *name,
|
|||
}
|
||||
if (preamble) {
|
||||
snd_config_iterator_t i, inext;
|
||||
snd_config_for_each(i, inext, status) {
|
||||
snd_config_for_each(i, inext, preamble) {
|
||||
long val;
|
||||
snd_config_t *n = snd_config_iterator_entry(i);
|
||||
const char *id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue