Skip to content
Snippets Groups Projects
Commit cc9d9444 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed: Committed by Jean-Baptiste Kempf
Browse files

access: rtp: don't use invalid socket descriptor

refs #26126
parent 005c246e
No related branches found
No related tags found
1 merge request!653access: rtp: don't use invalid socket descriptor
Pipeline #140448 passed with stages
in 32 minutes and 14 seconds
......@@ -416,6 +416,10 @@ static int OpenURL(vlc_object_t *obj)
}
free (tmp);
if(fd == -1)
return VLC_EGENERIC;
p_sys->rtp_sock = (co ? vlc_dccp_CreateFD : vlc_datagram_CreateFD)(fd);
if (p_sys->rtp_sock == NULL) {
if (rtcp_fd != -1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment