summaryrefslogtreecommitdiff
path: root/libavformat/avio.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-10-22 01:11:55 +0200
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-10-23 11:48:17 +0200
commit3605b312f65c4a009301d2d165e2db8d68063acb (patch)
treeaa03d018e60ac5c2b2d5c5a7871800c40defda31 /libavformat/avio.c
parent0cb8369bce32c559fc3ccd1eb0f93151e293b465 (diff)
lavf/avio: Print the https warning also for missing tls protocol.
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r--libavformat/avio.c2
1 files changed, 1 insertions, 1 deletions
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");