mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05: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) {
 | 
						if (preamble) {
 | 
				
			||||||
		snd_config_iterator_t i, inext;
 | 
							snd_config_iterator_t i, inext;
 | 
				
			||||||
		snd_config_for_each(i, inext, status) {
 | 
							snd_config_for_each(i, inext, preamble) {
 | 
				
			||||||
			long val;
 | 
								long val;
 | 
				
			||||||
			snd_config_t *n = snd_config_iterator_entry(i);
 | 
								snd_config_t *n = snd_config_iterator_entry(i);
 | 
				
			||||||
			const char *id;
 | 
								const char *id;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue