Browse Source

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

tags/n4.0
Carl Eugen Hoyos 7 years ago
parent
commit
3605b312f6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/avio.c

+ 1
- 1
libavformat/avio.c View File

@@ -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");


Loading…
Cancel
Save