Permalink
Browse files

actual remb crash

  • Loading branch information...
fippo committed Dec 12, 2018
1 parent 980988c commit c0ca65f432094381e17bb5e2822f68a8cf6d1797
Showing with 1 addition and 1 deletion.
  1. +1 −1 jrtcp.c
@@ -73,7 +73,7 @@ uint32_t janus_rtcp_get_remb(char *packet, int len) {
while(rtcp) {
if(rtcp->type == RTCP_PSFB) {
int fmt = rtcp->rc;
if(fmt == 15) {
if(fmt == 15 && offset < len - 24) {
janus_rtcp_fb *rtcpfb = (janus_rtcp_fb *)rtcp;
janus_rtcp_fb_remb *remb = (janus_rtcp_fb_remb *)rtcpfb->fci;
if(remb->id[0] == 'R' && remb->id[1] == 'E' && remb->id[2] == 'M' && remb->id[3] == 'B') {

0 comments on commit c0ca65f

Please sign in to comment.