Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
6693d57e
Commit
6693d57e
authored
Mar 11, 2017
by
Alexander Strasser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/avio: Remove unnecessary escaping of ' in string literals
Signed-off-by:
Alexander Strasser
<
eclipse7@gmx.net
>
parent
8ebed703
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
avio.c
libavformat/avio.c
+2
-2
No files found.
libavformat/avio.c
View file @
6693d57e
...
...
@@ -179,12 +179,12 @@ int ffurl_connect(URLContext *uc, AVDictionary **options)
(
uc
->
protocol_blacklist
&&
!
strcmp
(
uc
->
protocol_blacklist
,
e
->
value
)));
if
(
uc
->
protocol_whitelist
&&
av_match_list
(
uc
->
prot
->
name
,
uc
->
protocol_whitelist
,
','
)
<=
0
)
{
av_log
(
uc
,
AV_LOG_ERROR
,
"Protocol not on whitelist
\'
%s
\
'
!
\n
"
,
uc
->
protocol_whitelist
);
av_log
(
uc
,
AV_LOG_ERROR
,
"Protocol not on whitelist
'%s
'!
\n
"
,
uc
->
protocol_whitelist
);
return
AVERROR
(
EINVAL
);
}
if
(
uc
->
protocol_blacklist
&&
av_match_list
(
uc
->
prot
->
name
,
uc
->
protocol_blacklist
,
','
)
>
0
)
{
av_log
(
uc
,
AV_LOG_ERROR
,
"Protocol blacklisted
\'
%s
\
'
!
\n
"
,
uc
->
protocol_blacklist
);
av_log
(
uc
,
AV_LOG_ERROR
,
"Protocol blacklisted
'%s
'!
\n
"
,
uc
->
protocol_blacklist
);
return
AVERROR
(
EINVAL
);
}
...
...
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