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
ffdba2ec
Commit
ffdba2ec
authored
Feb 10, 2016
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SIS: splice_command_length is 12 bits (max 0xfff)
parent
dcc43a21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
src/tables/sis.c
src/tables/sis.c
+8
-10
No files found.
src/tables/sis.c
View file @
ffdba2ec
...
@@ -441,11 +441,9 @@ void dvbpsi_sis_sections_decode(dvbpsi_t* p_dvbpsi, dvbpsi_sis_t* p_sis,
...
@@ -441,11 +441,9 @@ void dvbpsi_sis_sections_decode(dvbpsi_t* p_dvbpsi, dvbpsi_sis_t* p_sis,
p_sis
->
i_splice_command_type
=
p_byte
[
13
];
p_sis
->
i_splice_command_type
=
p_byte
[
13
];
uint32_t
i_splice_command_length
=
p_sis
->
i_splice_command_length
;
uint32_t
i_splice_command_length
=
p_sis
->
i_splice_command_length
;
if
(
p_sis
->
i_splice_command_length
==
0xfff
)
assert
(
p_sis
->
i_splice_command_length
<=
0xfff
);
{
if
(
p_sis
->
i_splice_command_length
>
0xfff
)
/* FIXME: size 0xfff of splice_command_section is undefined */
p_sis
->
i_splice_command_length
=
0xfff
;
/* truncate */
assert
(
p_sis
->
i_splice_command_length
!=
0xfff
);
}
/* FIXME: handle splice_command_sections */
/* FIXME: handle splice_command_sections */
switch
(
p_sis
->
i_splice_command_type
)
switch
(
p_sis
->
i_splice_command_type
)
...
@@ -535,11 +533,11 @@ dvbpsi_psi_section_t *dvbpsi_sis_sections_generate(dvbpsi_t *p_dvbpsi, dvbpsi_si
...
@@ -535,11 +533,11 @@ dvbpsi_psi_section_t *dvbpsi_sis_sections_generate(dvbpsi_t *p_dvbpsi, dvbpsi_si
p_current
->
p_data
[
13
]
=
p_sis
->
i_splice_command_type
;
p_current
->
p_data
[
13
]
=
p_sis
->
i_splice_command_type
;
uint32_t
i_desc_start
=
13
+
p_sis
->
i_splice_command_length
;
uint32_t
i_desc_start
=
13
+
p_sis
->
i_splice_command_length
;
i
f
(
p_sis
->
i_splice_command_length
==
0xfff
)
i
_desc_start
++
;
/* descriptor loop starts here */
{
/* FIXME: size 0xfff of splice_command_section is undefined */
assert
(
p_sis
->
i_splice_command_length
<=
0xfff
);
assert
(
p_sis
->
i_splice_command_length
!=
0xfff
);
if
(
p_sis
->
i_splice_command_length
>
0xfff
)
}
p_sis
->
i_splice_command_length
=
0xfff
;
/* truncate */
/* FIXME: handle splice_command_sections */
/* FIXME: handle splice_command_sections */
...
...
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