Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
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
libdvbpsi
Commits
1e3a2eb7
Commit
1e3a2eb7
authored
Dec 24, 2014
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dr_83.c: check number of entries to be no more then 63.
parent
767d8d52
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/descriptors/dr_83.c
src/descriptors/dr_83.c
+3
-0
No files found.
src/descriptors/dr_83.c
View file @
1e3a2eb7
...
@@ -90,6 +90,9 @@ dvbpsi_lcn_dr_t *dvbpsi_DecodeLCNDr(dvbpsi_descriptor_t *p_descriptor)
...
@@ -90,6 +90,9 @@ dvbpsi_lcn_dr_t *dvbpsi_DecodeLCNDr(dvbpsi_descriptor_t *p_descriptor)
dvbpsi_descriptor_t
*
dvbpsi_GenLCNDr
(
dvbpsi_lcn_dr_t
*
p_decoded
,
dvbpsi_descriptor_t
*
dvbpsi_GenLCNDr
(
dvbpsi_lcn_dr_t
*
p_decoded
,
bool
b_duplicate
)
bool
b_duplicate
)
{
{
if
(
p_decoded
->
i_number_of_entries
>
63
)
p_decoded
->
i_number_of_entries
=
63
;
dvbpsi_descriptor_t
*
p_descriptor
=
dvbpsi_NewDescriptor
(
0x83
,
p_decoded
->
i_number_of_entries
*
4
,
0
);
dvbpsi_descriptor_t
*
p_descriptor
=
dvbpsi_NewDescriptor
(
0x83
,
p_decoded
->
i_number_of_entries
*
4
,
0
);
if
(
NULL
==
p_descriptor
)
if
(
NULL
==
p_descriptor
)
return
NULL
;
return
NULL
;
...
...
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