Merged revisions 106606 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 7 Mar 2008 15:22:34 +0000 (15:22 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 7 Mar 2008 15:22:34 +0000 (15:22 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106606 | tilghman | 2008-03-07 09:20:52 -0600 (Fri, 07 Mar 2008) | 3 lines

Properly initialize rtp->schedid
(Closes issue #12154)

........

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

main/rtp.c

index c449b8b..1199ffb 100644 (file)
@@ -2191,6 +2191,7 @@ static struct ast_rtcp *ast_rtcp_new(void)
        rtcp->s = rtp_socket("RTCP");
        rtcp->us.sin_family = AF_INET;
        rtcp->them.sin_family = AF_INET;
+       rtcp->schedid = -1;
 
        if (rtcp->s < 0) {
                ast_free(rtcp);