mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Merged revisions 313142 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r313142 | may | 2011-04-10 00:56:17 +0400 (Sun, 10 Apr 2011) | 3 lines fix trivial bug in ooh323_indicate on AST_CONTROL_SRC... check p->rtp is not null ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@313143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1259,10 +1259,14 @@ static int ooh323_indicate(struct ast_channel *ast, int condition, const void *d
|
||||
}
|
||||
break;
|
||||
case AST_CONTROL_SRCUPDATE:
|
||||
ast_rtp_instance_update_source(p->rtp);
|
||||
if (p->rtp) {
|
||||
ast_rtp_instance_update_source(p->rtp);
|
||||
}
|
||||
break;
|
||||
case AST_CONTROL_SRCCHANGE:
|
||||
ast_rtp_instance_change_source(p->rtp);
|
||||
if (p->rtp) {
|
||||
ast_rtp_instance_change_source(p->rtp);
|
||||
}
|
||||
break;
|
||||
case AST_CONTROL_CONNECTED_LINE:
|
||||
if (!ast->connected.id.name.valid
|
||||
|
Reference in New Issue
Block a user