mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Merged revisions 331420 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10 ........ r331420 | rmudgett | 2011-08-10 14:07:53 -0500 (Wed, 10 Aug 2011) | 2 lines Make sure feature_request_and_dial() initializes outstate if passed in. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@331421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -3012,6 +3012,9 @@ static struct ast_channel *feature_request_and_dial(struct ast_channel *caller, | ||||
|  | ||||
| 	tmp_cap = ast_format_cap_alloc_nolock(); | ||||
| 	if (!tmp_cap) { | ||||
| 		if (outstate) { | ||||
| 			*outstate = 0; | ||||
| 		} | ||||
| 		return NULL; | ||||
| 	} | ||||
| 	ast_best_codec(cap, &best_audio_fmt); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user