]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Properly initialize rtp->schedid
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 7 Mar 2008 15:20:52 +0000 (15:20 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 7 Mar 2008 15:20:52 +0000 (15:20 +0000)
(Closes issue #12154)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@106606 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/rtp.c

index b5864f916a49487b547fed694f03a8e640eaab5e..3d3766e9c0877a3ec57f0e50e4b581a3f95f1d17 100644 (file)
@@ -1864,6 +1864,7 @@ static struct ast_rtcp *ast_rtcp_new(void)
        rtcp->s = rtp_socket();
        rtcp->us.sin_family = AF_INET;
        rtcp->them.sin_family = AF_INET;
+       rtcp->schedid = -1;
 
        if (rtcp->s < 0) {
                free(rtcp);