mirror of https://git.ffmpeg.org/ffmpeg.git
Fix warning if https protocol was requested but isn't available.
This commit is contained in:
parent
fddea3f074
commit
99867fc0c4
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue