]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/tls.c
Merge commit '9295d10ea9d138462b7f67d16bf95ae9ca76aca6'
[ffmpeg] / libavformat / tls.c
index d6a6be3e1e9386f84c68c947dfc854480be6a9ad..942083bac948f4386d566a060c703507e48be49b 100644 (file)
@@ -175,7 +175,8 @@ static int tls_open(URLContext *h, const char *uri, int flags)
     const char *proxy_path;
     int use_proxy;
 
-    ff_tls_init();
+    if ((ret = ff_tls_init()) < 0)
+        return ret;
 
     if (c->listen)
         snprintf(opts, sizeof(opts), "?listen=1");