aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2014-08-12 10:03:36 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-08-12 10:03:36 +0200
commit99867fc0c42a2b0c9e07c9e4d4424bf7c454a844 (patch)
tree1a9f948f3b369a316ff5b8ea21fabab4d86c9eb0 /libavformat
parentfddea3f074d920752a3a1d47f4858a710d65a3ef (diff)
downloadffmpeg-99867fc0c42a2b0c9e07c9e4d4424bf7c454a844.tar.gz
Fix warning if https protocol was requested but isn't available.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c
index d71cfe8a62..307b7036d9 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -261,7 +261,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("https:", filename, NULL))
+ if (av_strstart(filename, "https:", NULL))
av_log(NULL, AV_LOG_WARNING, "https protocol not found, recompile with openssl or gnutls enabled.\n");
return AVERROR_PROTOCOL_NOT_FOUND;
}