mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	fix a misplaced assert
This commit is contained in:
		
							parent
							
								
									888e44f3b0
								
							
						
					
					
						commit
						77a1db16b9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -953,7 +953,7 @@ static int hsp_process_push(struct userdata *u) {
 | 
				
			||||||
            break;
 | 
					            break;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        pa_assert((size_t) l <= memchunk.length);
 | 
					        pa_assert((size_t) l <= pa_memblock_get_length(memchunk.memblock));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        memchunk.length = (size_t) l;
 | 
					        memchunk.length = (size_t) l;
 | 
				
			||||||
        u->read_index += (uint64_t) l;
 | 
					        u->read_index += (uint64_t) l;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue