Merged revisions 116800 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

................
r116800 | file | 2008-05-16 17:30:24 -0300 (Fri, 16 May 2008) | 12 lines

Merged revisions 116799 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r116799 | file | 2008-05-16 17:28:11 -0300 (Fri, 16 May 2008) | 4 lines

Check to make sure an RTP structure exists before calling ast_rtp_new_source on it.
(closes issue #12669)
Reported by: sbisker

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2008-05-16 21:35:33 +00:00
parent 7a6e7a7ec1
commit d26ee10058

View File

@@ -3758,7 +3758,9 @@ static int skinny_indicate(struct ast_channel *ast, int ind, const void *data, s
case AST_CONTROL_PROCEEDING: case AST_CONTROL_PROCEEDING:
break; break;
case AST_CONTROL_SRCUPDATE: case AST_CONTROL_SRCUPDATE:
if (sub->rtp) {
ast_rtp_new_source(sub->rtp); ast_rtp_new_source(sub->rtp);
}
break; break;
default: default:
ast_log(LOG_WARNING, "Don't know how to indicate condition %d\n", ind); ast_log(LOG_WARNING, "Don't know how to indicate condition %d\n", ind);