Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
a650e8c8
Commit
a650e8c8
authored
Sep 25, 2019
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/avio: Print https warning also for avio_find_protocol_name().
Helps to fix ticket #8197.
parent
3bb170e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
avio.c
libavformat/avio.c
+3
-4
No files found.
libavformat/avio.c
View file @
a650e8c8
...
...
@@ -283,6 +283,9 @@ static const struct URLProtocol *url_find_protocol(const char *filename)
}
}
av_freep
(
&
protocols
);
if
(
av_strstart
(
filename
,
"https:"
,
NULL
)
||
av_strstart
(
filename
,
"tls:"
,
NULL
))
av_log
(
NULL
,
AV_LOG_WARNING
,
"https protocol not found, recompile FFmpeg with "
"openssl, gnutls or securetransport enabled.
\n
"
);
return
NULL
;
}
...
...
@@ -297,10 +300,6 @@ 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
(
filename
,
"https:"
,
NULL
)
||
av_strstart
(
filename
,
"tls:"
,
NULL
))
av_log
(
NULL
,
AV_LOG_WARNING
,
"https protocol not found, recompile FFmpeg with "
"openssl, gnutls "
"or securetransport enabled.
\n
"
);
return
AVERROR_PROTOCOL_NOT_FOUND
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment