1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Fix warning if https protocol was requested but isn't available.

This commit is contained in:
Carl Eugen Hoyos 2014-08-12 10:03:36 +02:00
parent fddea3f074
commit 99867fc0c4

View File

@ -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;
}