[FFmpeg-cvslog] Suggest recompilation with openssl or gnutls if the https protocol is not found.

Carl Eugen Hoyos git at videolan.org
Thu Jul 11 12:13:23 CEST 2013


ffmpeg | branch: release/2.0 | Carl Eugen Hoyos <cehoyos at ag.or.at> | Wed Jul 10 13:16:28 2013 +0200| [fd2cf9c45d3b380cf3dfbdb5dac2fc14caa54de5] | committer: Michael Niedermayer

Suggest recompilation with openssl or gnutls if the https protocol is not found.

Fixes ticket #2765.
(cherry picked from commit 1db88c33f2c0225aae160cc412b62dfaa3a34cbc)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fd2cf9c45d3b380cf3dfbdb5dac2fc14caa54de5
---

 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