[FFmpeg-cvslog] Fix warning if https protocol was requested but isn't available.
Carl Eugen Hoyos
git at videolan.org
Tue Aug 12 11:22:33 CEST 2014
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Aug 12 10:03:36 2014 +0200| [99867fc0c42a2b0c9e07c9e4d4424bf7c454a844] | committer: Carl Eugen Hoyos
Fix warning if https protocol was requested but isn't available.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=99867fc0c42a2b0c9e07c9e4d4424bf7c454a844
---
libavformat/avio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/avio.c b/libavformat/avio.c
index d71cfe8..307b703 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;
}
More information about the ffmpeg-cvslog
mailing list