mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	padsp: don't use si if it's NULL
This commit is contained in:
		
							parent
							
								
									d1306e3020
								
							
						
					
					
						commit
						bb52a6753b
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1202,7 +1202,7 @@ fail:
 | 
			
		|||
static void sink_info_cb(pa_context *context, const pa_sink_info *si, int eol, void *userdata) {
 | 
			
		||||
    fd_info *i = userdata;
 | 
			
		||||
 | 
			
		||||
    if (!si && eol < 0) {
 | 
			
		||||
    if (!si || eol < 0) {
 | 
			
		||||
        i->operation_success = 0;
 | 
			
		||||
        pa_threaded_mainloop_signal(i->mainloop, 0);
 | 
			
		||||
        return;
 | 
			
		||||
| 
						 | 
				
			
			@ -1224,7 +1224,7 @@ static void sink_info_cb(pa_context *context, const pa_sink_info *si, int eol, v
 | 
			
		|||
static void source_info_cb(pa_context *context, const pa_source_info *si, int eol, void *userdata) {
 | 
			
		||||
    fd_info *i = userdata;
 | 
			
		||||
 | 
			
		||||
    if (!si && eol < 0) {
 | 
			
		||||
    if (!si || eol < 0) {
 | 
			
		||||
        i->operation_success = 0;
 | 
			
		||||
        pa_threaded_mainloop_signal(i->mainloop, 0);
 | 
			
		||||
        return;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue