projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c9eb5c9
)
Suggest recompilation with openssl or gnutls if the https protocol is not found.
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Wed, 10 Jul 2013 11:16:28 +0000
(13:16 +0200)
committer
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Wed, 10 Jul 2013 14:20:40 +0000
(16:20 +0200)
Fixes ticket #2765.
libavformat/avio.c
patch
|
blob
|
history
diff --git
a/libavformat/avio.c
b/libavformat/avio.c
index
73b2a29
..
5916e46
100644
(file)
--- 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;
}