Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
rtsp client: more strict RTP/AVP/UDP check
  • Loading branch information
perexg committed Mar 1, 2016
1 parent 60c8a12 commit 87dccf5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rtsp.c
Expand Up @@ -169,7 +169,8 @@ rtsp_setup_decode( http_client_t *hc, int satip )
}
}
}
} else if (!strncasecmp(argv[0], "RTP/AVP", 7)) {
} else if (!strcasecmp(argv[0], "RTP/AVP") ||
!strcasecmp(argv[0], "RTP/AVP/UDP")) {
if (n < 3)
return -EIO;
hc->hc_rtp_multicast = strcasecmp(argv[1], "multicast") == 0;
Expand Down

0 comments on commit 87dccf5

Please sign in to comment.