mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	fix crash when using sync'ed streams
This commit is contained in:
		
							parent
							
								
									06ab488f73
								
							
						
					
					
						commit
						2b764d4294
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1054,8 +1054,8 @@ int pa_sink_process_msg(pa_msgobject *o, int code, void *userdata, int64_t offse
 | 
			
		|||
             * we can safely access data outside of thread_info even
 | 
			
		||||
             * though it is mutable */
 | 
			
		||||
 | 
			
		||||
            pa_assert(!i->thread_info.sync_prev);
 | 
			
		||||
            pa_assert(!i->thread_info.sync_next);
 | 
			
		||||
            pa_assert(!i->sync_prev);
 | 
			
		||||
            pa_assert(!i->sync_next);
 | 
			
		||||
 | 
			
		||||
            if (i->thread_info.sync_prev) {
 | 
			
		||||
                i->thread_info.sync_prev->thread_info.sync_next = i->thread_info.sync_prev->sync_next;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue