Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
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
Steve Lhomme
VLC
Commits
b486fad0
Commit
b486fad0
authored
Mar 09, 2017
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: ps: fix packheader probing (cid #1402130)
parent
239c5602
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
modules/demux/mpeg/ps.c
modules/demux/mpeg/ps.c
+7
-4
No files found.
modules/demux/mpeg/ps.c
View file @
b486fad0
...
...
@@ -252,7 +252,9 @@ static int Demux2( demux_t *p_demux, bool b_end )
{
return
0
;
}
if
(
(
i_id
=
ps_pkt_id
(
p_pkt
))
>=
0xc0
)
i_id
=
ps_pkt_id
(
p_pkt
);
if
(
i_id
>=
0xc0
)
{
ps_track_t
*
tk
=
&
p_sys
->
tk
[
PS_ID_TO_TK
(
i_id
)];
if
(
!
ps_pkt_parse_pes
(
VLC_OBJECT
(
p_demux
),
p_pkt
,
tk
->
i_skip
)
&&
...
...
@@ -267,10 +269,11 @@ static int Demux2( demux_t *p_demux, bool b_end )
tk
->
i_first_pts
=
p_pkt
->
i_pts
;
}
}
if
(
i_id
==
PS_STREAM_ID_PACK_HEADER
)
p_sys
->
b_have_pack
=
true
;
}
if
(
i_id
==
PS_STREAM_ID_PACK_HEADER
)
p_sys
->
b_have_pack
=
true
;
block_Release
(
p_pkt
);
return
1
;
}
...
...
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