[FFmpeg-cvslog] Suggest recompilation with openssl or gnutls if the https protocol is not found.
Carl Eugen Hoyos
git at videolan.org
Wed Jul 10 20:24:11 CEST 2013
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Wed Jul 10 13:16:28 2013 +0200| [1db88c33f2c0225aae160cc412b62dfaa3a34cbc] | committer: Carl Eugen Hoyos
Suggest recompilation with openssl or gnutls if the https protocol is not found.
Fixes ticket #2765.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1db88c33f2c0225aae160cc412b62dfaa3a34cbc
---
libavformat/avio.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/avio.c b/libavformat/avio.c
index 73b2a29..5916e46 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -241,6 +241,8 @@ int ffurl_alloc(URLContext **puc, const char *filename, int flags,
return url_alloc_for_protocol (puc, up, filename, flags, int_cb);
}
*puc = NULL;
+ if (!strcmp("https", proto_str))
+ 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