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
2a7d4c72
Commit
2a7d4c72
authored
Aug 29, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings about signed - unsigned comparissons and wrong datatypes.
parent
f407de16
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
6 deletions
+5
-6
modules/demux/avi/avi.c
modules/demux/avi/avi.c
+1
-1
modules/demux/mjpeg.c
modules/demux/mjpeg.c
+1
-1
modules/demux/mp4/drms.c
modules/demux/mp4/drms.c
+2
-2
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+1
-1
modules/demux/playlist/xspf.h
modules/demux/playlist/xspf.h
+0
-1
No files found.
modules/demux/avi/avi.c
View file @
2a7d4c72
...
...
@@ -1837,7 +1837,7 @@ vlc_fourcc_t AVI_FourccGetCodec( unsigned int i_cat, vlc_fourcc_t i_codec )
*
****************************************************************************/
static
void
AVI_ParseStreamHeader
(
vlc_fourcc_t
i_id
,
int
*
pi_number
,
int
*
pi_type
)
unsigned
int
*
pi_number
,
unsigned
int
*
pi_type
)
{
#define SET_PTR( p, v ) if( p ) *(p) = (v);
int
c1
,
c2
;
...
...
modules/demux/mjpeg.c
View file @
2a7d4c72
...
...
@@ -157,7 +157,7 @@ static char* GetLine( demux_t *p_demux, int *p_pos )
msg_Err
(
p_demux
,
"out of memory"
);
return
NULL
;
}
strncpy
(
p_line
,
p_buf
,
i
);
strncpy
(
p_line
,
(
char
*
)
p_buf
,
i
);
p_line
[
i
]
=
'\0'
;
// msg_Dbg( p_demux, "i = %d, pos = %d, %s", i, *p_pos, p_line );
return
p_line
;
...
...
modules/demux/mp4/drms.c
View file @
2a7d4c72
...
...
@@ -1522,14 +1522,14 @@ static int GetSystemKey( uint32_t *p_sys_key, vlc_bool_t b_ipod )
/* Combine our system info hash with additional secret data. The resulting
* MD5 hash will be our system key. */
InitMD5
(
&
md5
);
AddMD5
(
&
md5
,
p_secret5
,
8
);
AddMD5
(
&
md5
,
(
uint8_t
*
)
p_secret5
,
8
);
if
(
!
b_ipod
)
{
AddMD5
(
&
md5
,
(
uint8_t
*
)
p_system_hash
,
6
);
AddMD5
(
&
md5
,
(
uint8_t
*
)
p_system_hash
,
6
);
AddMD5
(
&
md5
,
(
uint8_t
*
)
p_system_hash
,
6
);
AddMD5
(
&
md5
,
p_secret6
,
8
);
AddMD5
(
&
md5
,
(
uint8_t
*
)
p_secret6
,
8
);
}
else
{
...
...
modules/demux/mp4/mp4.c
View file @
2a7d4c72
...
...
@@ -651,7 +651,7 @@ static int Demux( demux_t *p_demux )
p_block
->
i_buffer
=
i_size
+
1
;
/* convert \r -> \n */
while
(
(
p
=
strchr
(
p_block
->
p_buffer
,
'\r'
)
)
)
while
(
(
p
=
strchr
(
(
char
*
)
p_block
->
p_buffer
,
'\r'
)
)
)
{
*
p
=
'\n'
;
}
...
...
modules/demux/playlist/xspf.h
View file @
2a7d4c72
...
...
@@ -48,7 +48,6 @@ static vlc_bool_t parse_extension_node COMPLEX_INTERFACE;
static
vlc_bool_t
parse_extitem_node
COMPLEX_INTERFACE
;
static
vlc_bool_t
set_item_info
SIMPLE_INTERFACE
;
static
vlc_bool_t
skip_element
COMPLEX_INTERFACE
;
static
vlc_bool_t
insert_new_item
(
playlist_t
*
,
playlist_item_t
*
,
playlist_item_t
**
,
char
*
);
/* datatypes */
typedef
struct
...
...
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