Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
7b87020d
Commit
7b87020d
authored
Aug 09, 2005
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings about comparing signed and unsigned
parent
ca639cdf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
modules/demux/asf/asf.c
modules/demux/asf/asf.c
+4
-3
modules/demux/asf/libasf.c
modules/demux/asf/libasf.c
+5
-2
No files found.
modules/demux/asf/asf.c
View file @
7b87020d
...
...
@@ -77,7 +77,7 @@ typedef struct
struct
demux_sys_t
{
mtime_t
i_time
;
/* s */
mtime_t
i_time
;
/* s */
mtime_t
i_length
;
/* length of file file */
int64_t
i_bitrate
;
/* global file bitrate */
...
...
@@ -366,7 +366,7 @@ static int DemuxPacket( demux_t *p_demux )
i_packet_send_time
=
GetDWLE
(
p_peek
+
i_skip
);
i_skip
+=
4
;
i_packet_duration
=
GetWLE
(
p_peek
+
i_skip
);
i_skip
+=
2
;
// i_packet_size_left = i_packet_length; // XXX donn
e
s reellement lu
// i_packet_size_left = i_packet_length; // XXX donn
�
s reellement lu
/* FIXME I have to do that for some file, I don't known why */
i_packet_size_left
=
i_data_packet_min
;
...
...
@@ -719,7 +719,8 @@ static int DemuxInit( demux_t *p_demux )
if
(
p_sys
->
p_root
->
p_metadata
)
{
asf_object_metadata_t
*
p_meta
=
p_sys
->
p_root
->
p_metadata
;
int
i
,
i_aspect_x
=
0
,
i_aspect_y
=
0
;
int
i_aspect_x
=
0
,
i_aspect_y
=
0
;
unsigned
int
i
;
for
(
i
=
0
;
i
<
p_meta
->
i_record_entries_count
;
i
++
)
{
...
...
modules/demux/asf/libasf.c
View file @
7b87020d
...
...
@@ -307,6 +307,9 @@ static int ASF_ReadObject_metadata( stream_t *s, asf_object_t *p_obj )
int
i_peek
,
i_entries
,
i
;
uint8_t
*
p_peek
;
#ifdef ASF_DEBUG
unsigned
int
j
;
#endif
p_meta
->
i_record_entries_count
=
0
;
p_meta
->
record
=
0
;
...
...
@@ -401,9 +404,9 @@ static int ASF_ReadObject_metadata( stream_t *s, asf_object_t *p_obj )
msg_Dbg
(
s
,
"read
\"
metadata object
\"
%d entries"
,
p_meta
->
i_record_entries_count
);
for
(
i
=
0
;
i
<
p_meta
->
i_record_entries_count
;
i
++
)
for
(
j
=
0
;
j
<
p_meta
->
i_record_entries_count
;
j
++
)
{
asf_metadata_record_t
*
p_rec
=
&
p_meta
->
record
[
i
];
asf_metadata_record_t
*
p_rec
=
&
p_meta
->
record
[
j
];
if
(
p_rec
->
i_type
==
ASF_METADATA_TYPE_STRING
)
msg_Dbg
(
s
,
" - %s=%s"
,
...
...
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