Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
880f95fd
Commit
880f95fd
authored
Sep 25, 2005
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings
parent
0c2787f8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
modules/access/rtsp/access.c
modules/access/rtsp/access.c
+0
-1
modules/access/rtsp/real.c
modules/access/rtsp/real.c
+4
-4
modules/access/rtsp/rtsp.c
modules/access/rtsp/rtsp.c
+1
-1
No files found.
modules/access/rtsp/access.c
View file @
880f95fd
...
...
@@ -292,7 +292,6 @@ static int Seek( access_t *p_access, int64_t i_pos )
*****************************************************************************/
static
int
Control
(
access_t
*
p_access
,
int
i_query
,
va_list
args
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
vlc_bool_t
*
pb_bool
;
int
*
pi_int
;
int64_t
*
pi_64
;
...
...
modules/access/rtsp/real.c
View file @
880f95fd
...
...
@@ -218,7 +218,7 @@ static void call_hash (char *key, char *challenge, int len) {
a
+=
len
*
8
;
LE_32C
(
ptr1
,
a
);
if
(
a
<
(
len
<<
3
))
if
(
a
<
(
uint32_t
)(
len
<<
3
))
{
lprintf
(
"not verified: (len << 3) > a true
\n
"
);
ptr2
+=
4
;
...
...
@@ -228,14 +228,14 @@ static void call_hash (char *key, char *challenge, int len) {
LE_32C
(
ptr2
,
tmp
);
a
=
64
-
b
;
c
=
0
;
if
(
a
<=
len
)
if
(
a
<=
(
uint32_t
)
len
)
{
memcpy
(
key
+
b
+
24
,
challenge
,
a
);
hash
(
key
,
key
+
24
);
c
=
a
;
d
=
c
+
0x3f
;
while
(
d
<
len
)
{
while
(
d
<
(
uint32_t
)
len
)
{
lprintf
(
"not verified: while ( d < len )
\n
"
);
hash
(
key
,
challenge
+
d
-
0x3f
);
d
+=
64
;
...
...
@@ -457,7 +457,7 @@ rmff_header_t *real_parse_sdp(char *data, char **stream_rules, uint32_t bandwidt
header
->
data
=
rmff_new_dataheader
(
0
,
0
);
if
(
!
header
->
data
)
goto
error
;
header
->
streams
=
(
rmff_mdpr_t
*
)
malloc
(
sizeof
(
rmff_mdpr_t
*
)
*
(
desc
->
stream_count
+
1
));
header
->
streams
=
(
rmff_mdpr_t
*
*
)
malloc
(
sizeof
(
rmff_mdpr_t
*
)
*
(
desc
->
stream_count
+
1
));
if
(
!
header
->
streams
)
goto
error
;
memset
(
header
->
streams
,
0
,
sizeof
(
rmff_mdpr_t
*
)
*
(
desc
->
stream_count
+
1
));
...
...
modules/access/rtsp/rtsp.c
View file @
880f95fd
...
...
@@ -458,7 +458,7 @@ int rtsp_connect( rtsp_client_t *rtsp, const char *psz_mrl,
rtsp_t
*
s
;
char
*
mrl_ptr
;
char
*
slash
,
*
colon
;
int
hostend
,
pathbegin
,
i
;
unsigned
int
hostend
,
pathbegin
,
i
;
if
(
!
psz_mrl
)
return
-
1
;
s
=
malloc
(
sizeof
(
rtsp_t
)
);
...
...
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