[vlc-commits] [Git][videolan/vlc][master] rtp: fix invalid check

Thomas Guillem gitlab at videolan.org
Thu Jun 24 13:16:21 UTC 2021



Thomas Guillem pushed to branch master at VideoLAN / VLC


Commits:
b6d0ebc9 by Thomas Guillem at 2021-06-24T13:05:44+00:00
rtp: fix invalid check

This caused the rtp access module to always fail.

Regression from ced9254b63271c36bddd15c01adabb88d3a3f1bb

- - - - -


1 changed file:

- modules/access/rtp/rtp.c


Changes:

=====================================
modules/access/rtp/rtp.c
=====================================
@@ -417,7 +417,7 @@ static int OpenURL(vlc_object_t *obj)
 
     free (tmp);
     p_sys->rtp_sock = (co ? vlc_dccp_CreateFD : vlc_datagram_CreateFD)(fd);
-    if (p_sys->rtcp_sock == NULL) {
+    if (p_sys->rtp_sock == NULL) {
         if (rtcp_fd != -1)
             net_Close(rtcp_fd);
         return VLC_EGENERIC;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b6d0ebc9af53280ca05380280560d8096e3b6d14

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b6d0ebc9af53280ca05380280560d8096e3b6d14
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list