mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-25 14:06:27 +00:00 
			
		
		
		
	chan_rtp.c: MulticastRTP missing refcount without codec option
Fixes: #529
(cherry picked from commit 683da188c9)
			
			
This commit is contained in:
		
				
					committed by
					
						 Asterisk Development Team
						Asterisk Development Team
					
				
			
			
				
	
			
			
			
						parent
						
							ae747ba0ee
						
					
				
				
					commit
					ea0cd51885
				
			| @@ -129,7 +129,8 @@ static struct ast_format *derive_format_from_cap(struct ast_format_cap *cap) | ||||
| 		 * assignments. Signed linear @ 8kHz does not map, so if that is our | ||||
| 		 * only capability, we force μ-law instead. | ||||
| 		 */ | ||||
| 		fmt = ast_format_ulaw; | ||||
| 		ao2_ref(fmt, -1); | ||||
| 		fmt = ao2_bump(ast_format_ulaw); | ||||
| 	} | ||||
|  | ||||
| 	return fmt; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user