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
60e01ff5
Commit
60e01ff5
authored
May 20, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use correct datatype in srtncasecmp
parent
31c99363
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
modules/demux/sgimb.c
modules/demux/sgimb.c
+3
-4
No files found.
modules/demux/sgimb.c
View file @
60e01ff5
...
@@ -159,14 +159,13 @@ static int Activate( vlc_object_t * p_this )
...
@@ -159,14 +159,13 @@ static int Activate( vlc_object_t * p_this )
i_size
-=
sizeof
(
"sgiNameServerHost="
)
-
1
;
i_size
-=
sizeof
(
"sgiNameServerHost="
)
-
1
;
if
(
i_size
>
0
)
if
(
i_size
>
0
)
{
{
while
(
i_size
&&
strncasecmp
(
p_peek
,
"sgiNameServerHost="
,
unsigned
int
i_len
=
sizeof
(
"sgiNameServerHost="
)
-
1
;
sizeof
(
"sgiNameServerHost="
)
-
1
)
)
while
(
i_size
&&
strncasecmp
(
(
char
*
)
p_peek
,
"sgiNameServerHost="
,
i_len
)
)
{
{
p_peek
++
;
p_peek
++
;
i_size
--
;
i_size
--
;
}
}
if
(
!
strncasecmp
(
p_peek
,
"sgiNameServerHost="
,
if
(
!
strncasecmp
(
(
char
*
)
p_peek
,
"sgiNameServerHost="
,
i_len
)
)
sizeof
(
"sgiNameServerHost="
)
-
1
)
)
{
{
p_demux
->
pf_demux
=
Demux
;
p_demux
->
pf_demux
=
Demux
;
p_demux
->
pf_control
=
Control
;
p_demux
->
pf_control
=
Control
;
...
...
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