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
7f4fe8ff
Commit
7f4fe8ff
authored
Dec 11, 2015
by
Petri Hintukainen
Committed by
Jean-Baptiste Kempf
Dec 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg-ts: fix comparing unsigned and signed integers
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
bd795dd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/demux/mpeg/ts.c
modules/demux/mpeg/ts.c
+2
-1
No files found.
modules/demux/mpeg/ts.c
View file @
7f4fe8ff
...
...
@@ -2514,7 +2514,8 @@ static block_t* ReadTSPacket( demux_t *p_demux )
/* Get a new TS packet */
if
(
!
(
p_pkt
=
stream_Block
(
p_sys
->
stream
,
p_sys
->
i_packet_size
)
)
)
{
if
(
stream_Tell
(
p_sys
->
stream
)
==
stream_Size
(
p_sys
->
stream
)
)
int64_t
size
=
stream_Size
(
p_sys
->
stream
);
if
(
size
>=
0
&&
(
uint64_t
)
size
==
stream_Tell
(
p_sys
->
stream
)
)
msg_Dbg
(
p_demux
,
"EOF at %"
PRId64
,
stream_Tell
(
p_sys
->
stream
)
);
else
msg_Dbg
(
p_demux
,
"Can't read TS packet at %"
PRId64
,
stream_Tell
(
p_sys
->
stream
)
);
...
...
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