Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
8e305e1b
Commit
8e305e1b
authored
Apr 06, 2009
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't reinvent strcasecmp().
parent
09debb56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
src/misc/image.c
src/misc/image.c
+2
-9
No files found.
src/misc/image.c
View file @
8e305e1b
...
@@ -549,15 +549,8 @@ vlc_fourcc_t image_Type2Fourcc( const char *psz_type )
...
@@ -549,15 +549,8 @@ vlc_fourcc_t image_Type2Fourcc( const char *psz_type )
int
i
;
int
i
;
for
(
i
=
0
;
ext_table
[
i
].
i_codec
;
i
++
)
for
(
i
=
0
;
ext_table
[
i
].
i_codec
;
i
++
)
{
if
(
!
strcasecmp
(
ext_table
[
i
].
psz_ext
,
psz_type
)
)
int
j
;
return
ext_table
[
i
].
i_codec
;
for
(
j
=
0
;
toupper
(
ext_table
[
i
].
psz_ext
[
j
])
==
toupper
(
psz_type
[
j
]);
j
++
)
{
if
(
!
ext_table
[
i
].
psz_ext
[
j
]
&&
!
psz_type
[
j
]
)
return
ext_table
[
i
].
i_codec
;
}
}
return
0
;
return
0
;
}
}
...
...
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