Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
d5bd172d
Commit
d5bd172d
authored
Aug 18, 2015
by
François Grisez
Browse files
Makes MKVRecorder not case-sensitive concering RFC codecs name
parent
2b669706
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/videofilters/mkv.c
View file @
d5bd172d
...
...
@@ -625,13 +625,13 @@ static const ModuleDesc *moduleDescs[] = {
static
int
find_module_id_from_rfc_name
(
const
char
*
rfcName
)
{
int
id
;
for
(
id
=
0
;
moduleDescs
[
id
]
!=
NULL
&&
strcmp
(
moduleDescs
[
id
]
->
rfcName
,
rfcName
)
!=
0
;
id
++
);
for
(
id
=
0
;
moduleDescs
[
id
]
&&
strc
asec
mp
(
moduleDescs
[
id
]
->
rfcName
,
rfcName
)
!=
0
;
id
++
);
return
id
;
}
static
int
find_module_id_from_codec_id
(
const
char
*
codecId
)
{
int
id
;
for
(
id
=
0
;
moduleDescs
[
id
]
!=
NULL
&&
strcmp
(
moduleDescs
[
id
]
->
codecId
,
codecId
)
!=
0
;
id
++
);
for
(
id
=
0
;
moduleDescs
[
id
]
&&
strcmp
(
moduleDescs
[
id
]
->
codecId
,
codecId
)
!=
0
;
id
++
);
return
id
;
}
...
...
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