vlc | branch: master | Hugo Beauzée-Luyssen <h...@beauzee.fr> | Thu Nov 23 
11:04:47 2017 +0100| [8a9ffc70f337a6d1adc3fe0589501f1cb0be8015] | committer: 
Hugo Beauzée-Luyssen

Revert "satip: Add missing allocation check"

This reverts commit e95b11e2c0c730599d66241047de0760e0bea40f.
This breaks the logic a few lines below

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8a9ffc70f337a6d1adc3fe0589501f1cb0be8015
---

 modules/access/satip.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/access/satip.c b/modules/access/satip.c
index eed3cf5b4a..2da403dbf8 100644
--- a/modules/access/satip.c
+++ b/modules/access/satip.c
@@ -632,8 +632,6 @@ static int satip_open(vlc_object_t *obj)
     msg_Dbg(access, "try to open '%s'", access->psz_url);
 
     char *psz_host = var_InheritString(access, "satip-host");
-    if (psz_host == NULL)
-        return VLC_ENOMEM;
 
     sys->udp_sock = -1;
     sys->rtcp_sock = -1;

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to