Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bitstream
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
bitstream
Commits
2e37c440
Commit
2e37c440
authored
Jan 24, 2011
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mpeg/psi.h: Be more leniant towards invalid PATs.
parent
f37b611c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
mpeg/psi.h
mpeg/psi.h
+5
-3
No files found.
mpeg/psi.h
View file @
2e37c440
...
@@ -899,10 +899,12 @@ static inline bool pat_table_validate(uint8_t **pp_sections)
...
@@ -899,10 +899,12 @@ static inline bool pat_table_validate(uint8_t **pp_sections)
return
false
;
return
false
;
while
((
p_program
=
pat_get_program
(
p_section
,
j
))
!=
NULL
)
{
while
((
p_program
=
pat_get_program
(
p_section
,
j
))
!=
NULL
)
{
uint8_t
*
p_program2
=
pat_table_find_program
(
pp_sections
,
patn_get_program
(
p_program
));
j
++
;
j
++
;
/* check that the program number is not already in the table
*/
/* check that the program number is not already in the table
if
(
pat_table_find_program
(
pp_sections
,
* with another PID */
patn_get_program
(
p_program
))
!=
p_program
)
if
(
patn_get_pid
(
p_program
)
!=
patn_get_pid
(
p_program2
)
)
return
false
;
return
false
;
}
}
}
}
...
...
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