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
2de9c5ed
Commit
2de9c5ed
authored
Oct 23, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avutil/avstring: fix hardcoded separator in av_match_list()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
3c0b98dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
avstring.c
libavutil/avstring.c
+4
-4
No files found.
libavutil/avstring.c
View file @
2de9c5ed
...
@@ -409,13 +409,13 @@ int av_match_list(const char *name, const char *list, char separator)
...
@@ -409,13 +409,13 @@ int av_match_list(const char *name, const char *list, char separator)
for
(
p
=
name
;
p
&&
*
p
;
)
{
for
(
p
=
name
;
p
&&
*
p
;
)
{
for
(
q
=
list
;
q
&&
*
q
;
)
{
for
(
q
=
list
;
q
&&
*
q
;
)
{
int
k
;
int
k
;
for
(
k
=
0
;
p
[
k
]
==
q
[
k
]
||
(
p
[
k
]
*
q
[
k
]
==
0
&&
p
[
k
]
+
q
[
k
]
==
','
);
k
++
)
for
(
k
=
0
;
p
[
k
]
==
q
[
k
]
||
(
p
[
k
]
*
q
[
k
]
==
0
&&
p
[
k
]
+
q
[
k
]
==
separator
);
k
++
)
if
(
k
&&
(
!
p
[
k
]
||
p
[
k
]
==
','
))
if
(
k
&&
(
!
p
[
k
]
||
p
[
k
]
==
separator
))
return
1
;
return
1
;
q
=
strchr
(
q
,
','
);
q
=
strchr
(
q
,
separator
);
q
+=
!!
q
;
q
+=
!!
q
;
}
}
p
=
strchr
(
p
,
','
);
p
=
strchr
(
p
,
separator
);
p
+=
!!
p
;
p
+=
!!
p
;
}
}
...
...
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