diff options
-rwxr-xr-x | rtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -325,7 +325,7 @@ struct ast_frame *ast_rtcp_read(struct ast_rtp *rtp) unsigned int rtcpdata[1024]; char iabuf[INET_ADDRSTRLEN]; - if (!rtp) + if (!rtp || !rtp->rtcp) return &null_frame; len = sizeof(sin); |