Suggest recompilation with openssl or gnutls if the https protocol is not found.
Fixes ticket #2765.
(cherry picked from commit 1db88c33f2
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:

committed by
Michael Niedermayer

parent
fc3dec8b62
commit
fd2cf9c45d
@@ -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);
|
return url_alloc_for_protocol (puc, up, filename, flags, int_cb);
|
||||||
}
|
}
|
||||||
*puc = NULL;
|
*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;
|
return AVERROR_PROTOCOL_NOT_FOUND;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user