[FFmpeg-cvslog] lavf/avio: Print the https warning also for missing tls protocol.

Carl Eugen Hoyos git at videolan.org
Mon Oct 23 12:49:35 EEST 2017


ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Sun Oct 22 01:11:55 2017 +0200| [3605b312f65c4a009301d2d165e2db8d68063acb] | committer: Carl Eugen Hoyos

lavf/avio: Print the https warning also for missing tls protocol.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3605b312f65c4a009301d2d165e2db8d68063acb
---

 libavformat/avio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/avio.c b/libavformat/avio.c
index 4718753b7b..4dc468350c 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -297,7 +297,7 @@ int ffurl_alloc(URLContext **puc, const char *filename, int flags,
        return url_alloc_for_protocol(puc, p, filename, flags, int_cb);
 
     *puc = NULL;
-    if (av_strstart(filename, "https:", NULL))
+    if (av_strstart(filename, "https:", NULL) || av_strstart(filename, "tls:", NULL))
         av_log(NULL, AV_LOG_WARNING, "https protocol not found, recompile FFmpeg with "
                                      "openssl, gnutls "
                                      "or securetransport enabled.\n");



More information about the ffmpeg-cvslog mailing list