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
075a0175
Commit
075a0175
authored
Aug 21, 2009
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ts: Fix some signess comparison issue.
parent
441603f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/demux/ts.c
modules/demux/ts.c
+5
-5
No files found.
modules/demux/ts.c
View file @
075a0175
...
@@ -1618,8 +1618,8 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid )
...
@@ -1618,8 +1618,8 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid )
{
{
block_t
*
p_pes
=
pid
->
es
->
p_pes
;
block_t
*
p_pes
=
pid
->
es
->
p_pes
;
uint8_t
header
[
34
];
uint8_t
header
[
34
];
int
i_pes_size
=
0
;
unsigned
i_pes_size
=
0
;
int
i_skip
=
0
;
unsigned
i_skip
=
0
;
mtime_t
i_dts
=
-
1
;
mtime_t
i_dts
=
-
1
;
mtime_t
i_pts
=
-
1
;
mtime_t
i_pts
=
-
1
;
mtime_t
i_length
=
0
;
mtime_t
i_length
=
0
;
...
@@ -3198,12 +3198,12 @@ static void PMTSetupEsTeletext( demux_t *p_demux, ts_pid_t *pid,
...
@@ -3198,12 +3198,12 @@ static void PMTSetupEsTeletext( demux_t *p_demux, ts_pid_t *pid,
es_format_t
*
p_fmt
=
&
pid
->
es
->
fmt
;
es_format_t
*
p_fmt
=
&
pid
->
es
->
fmt
;
ts_teletext_page_t
p_page
[
2
*
64
+
20
];
ts_teletext_page_t
p_page
[
2
*
64
+
20
];
int
i_page
=
0
;
unsigned
i_page
=
0
;
/* Gather pages informations */
/* Gather pages informations */
#if defined _DVBPSI_DR_56_H_ && \
#if defined _DVBPSI_DR_56_H_ && \
defined DVBPSI_VERSION && DVBPSI_VERSION_INT > ((0<<16)+(1<<8)+5)
defined DVBPSI_VERSION && DVBPSI_VERSION_INT > ((0<<16)+(1<<8)+5)
for
(
int
i_tag_idx
=
0
;
i_tag_idx
<
2
;
i_tag_idx
++
)
for
(
unsigned
i_tag_idx
=
0
;
i_tag_idx
<
2
;
i_tag_idx
++
)
{
{
dvbpsi_descriptor_t
*
p_dr
=
PMTEsFindDescriptor
(
p_es
,
i_tag_idx
==
0
?
0x46
:
0x56
);
dvbpsi_descriptor_t
*
p_dr
=
PMTEsFindDescriptor
(
p_es
,
i_tag_idx
==
0
?
0x46
:
0x56
);
if
(
!
p_dr
)
if
(
!
p_dr
)
...
@@ -3295,7 +3295,7 @@ static void PMTSetupEsTeletext( demux_t *p_demux, ts_pid_t *pid,
...
@@ -3295,7 +3295,7 @@ static void PMTSetupEsTeletext( demux_t *p_demux, ts_pid_t *pid,
}
}
else
else
{
{
for
(
int
i
=
0
;
i
<
i_page
;
i
++
)
for
(
unsigned
i
=
0
;
i
<
i_page
;
i
++
)
{
{
ts_es_t
*
p_es
;
ts_es_t
*
p_es
;
...
...
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