mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Properly initialize rtp->schedid
(Closes issue #12154) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@106606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user