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
e4b03fdd
Commit
e4b03fdd
authored
Aug 09, 2012
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RST table: indentation fixes.
parent
3eab23d9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/tables/rst.c
src/tables/rst.c
+3
-2
No files found.
src/tables/rst.c
View file @
e4b03fdd
...
@@ -196,7 +196,8 @@ dvbpsi_rst_event_t* dvbpsi_rst_event_add(dvbpsi_rst_t* p_rst,
...
@@ -196,7 +196,8 @@ dvbpsi_rst_event_t* dvbpsi_rst_event_add(dvbpsi_rst_t* p_rst,
*****************************************************************************
*****************************************************************************
* Generate RST sections based on the dvbpsi_rst_t structure.
* Generate RST sections based on the dvbpsi_rst_t structure.
*****************************************************************************/
*****************************************************************************/
dvbpsi_psi_section_t
*
dvbpsi_rst_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_rst_t
*
p_rst
)
{
dvbpsi_psi_section_t
*
dvbpsi_rst_sections_generate
(
dvbpsi_t
*
p_dvbpsi
,
dvbpsi_rst_t
*
p_rst
)
{
dvbpsi_psi_section_t
*
p_result
=
dvbpsi_NewPSISection
(
1024
);
dvbpsi_psi_section_t
*
p_result
=
dvbpsi_NewPSISection
(
1024
);
dvbpsi_psi_section_t
*
p_current
=
p_result
;
dvbpsi_psi_section_t
*
p_current
=
p_result
;
dvbpsi_psi_section_t
*
p_prev
;
dvbpsi_psi_section_t
*
p_prev
;
...
@@ -224,7 +225,7 @@ dvbpsi_psi_section_t* dvbpsi_rst_sections_generate(dvbpsi_t *p_dvbpsi, dvbpsi_rs
...
@@ -224,7 +225,7 @@ dvbpsi_psi_section_t* dvbpsi_rst_sections_generate(dvbpsi_t *p_dvbpsi, dvbpsi_rs
while
(
p_event
!=
NULL
)
while
(
p_event
!=
NULL
)
{
{
/* The section_length shall not exceed 1 021 so that the entire section has a maximum length of 1 024 bytes */
/* The section_length shall not exceed 1 021 so that the entire section has a maximum length of 1 024 bytes */
if
(
(
p_current
->
p_payload_end
-
p_current
->
p_data
)
<
1021
)
if
((
p_current
->
p_payload_end
-
p_current
->
p_data
)
<
1021
)
{
{
p_current
->
p_data
[
0
+
i_count
]
=
(
p_event
->
i_ts_id
>>
8
);
p_current
->
p_data
[
0
+
i_count
]
=
(
p_event
->
i_ts_id
>>
8
);
p_current
->
p_data
[
1
+
i_count
]
=
(
p_event
->
i_ts_id
&
0xFF
);
p_current
->
p_data
[
1
+
i_count
]
=
(
p_event
->
i_ts_id
&
0xFF
);
...
...
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