Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
775f1d06
Commit
775f1d06
authored
Feb 20, 2011
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtsp: fix strncmp length.
parent
a40da5e1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/access/rtsp/rtsp.c
modules/access/rtsp/rtsp.c
+1
-1
No files found.
modules/access/rtsp/rtsp.c
View file @
775f1d06
...
@@ -138,7 +138,7 @@ static int rtsp_get_status_code( rtsp_client_t *rtsp, const char *psz_string )
...
@@ -138,7 +138,7 @@ static int rtsp_get_status_code( rtsp_client_t *rtsp, const char *psz_string )
psz_buffer
[
3
]
=
0
;
psz_buffer
[
3
]
=
0
;
i_code
=
atoi
(
psz_buffer
);
i_code
=
atoi
(
psz_buffer
);
}
}
else
if
(
!
strncmp
(
psz_string
,
"SET_PARAMETER"
,
8
)
)
else
if
(
!
strncmp
(
psz_string
,
"SET_PARAMETER"
,
sizeof
(
"SET_PARAMETER"
)
-
1
)
)
{
{
return
RTSP_STATUS_SET_PARAMETER
;
return
RTSP_STATUS_SET_PARAMETER
;
}
}
...
...
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