Fix segfault of iec958 plugin with preamble

Fix segfault of iec958 plugin with preamble (bug#1571).
This commit is contained in:
Takashi Iwai 2005-11-23 16:46:39 +00:00
parent c2f446b0a4
commit 52372e0187

View file

@ -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;