From 3605b312f65c4a009301d2d165e2db8d68063acb Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sun, 22 Oct 2017 01:11:55 +0200 Subject: [PATCH] lavf/avio: Print the https warning also for missing tls protocol. --- 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");