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
efb51e5f
Commit
efb51e5f
authored
Mar 08, 2017
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: ps: fix regression in sync test
parent
1e5be3b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/demux/mpeg/ps.c
modules/demux/mpeg/ps.c
+2
-2
No files found.
modules/demux/mpeg/ps.c
View file @
efb51e5f
...
...
@@ -712,8 +712,8 @@ static int ps_pkt_resynch( stream_t *s, bool b_cdxa, bool b_pack )
}
if
(
p_peek
[
0
]
==
0
&&
p_peek
[
1
]
==
0
&&
p_peek
[
2
]
==
1
&&
(
b_pack
)
?
(
p_peek
[
3
]
==
PS_STREAM_ID_PACK_HEADER
)
:
(
p_peek
[
3
]
>=
PS_STREAM_ID_END_STREAM
)
)
p_peek
[
3
]
>=
PS_STREAM_ID_END_STREAM
&&
(
!
b_pack
||
p_peek
[
3
]
==
PS_STREAM_ID_PACK_HEADER
)
)
{
return
vlc_stream_Read
(
s
,
NULL
,
i_skip
)
==
i_skip
?
1
:
-
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