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
4ce2b8c3
Commit
4ce2b8c3
authored
Jun 24, 2011
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/tables/pat.c: Cleanup indentation
parent
c932b126
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
75 additions
and
76 deletions
+75
-76
src/tables/pat.c
src/tables/pat.c
+75
-76
No files found.
src/tables/pat.c
View file @
4ce2b8c3
...
@@ -358,9 +358,9 @@ void dvbpsi_GatherPATSections(dvbpsi_t* p_dvbpsi, dvbpsi_psi_section_t* p_sectio
...
@@ -358,9 +358,9 @@ void dvbpsi_GatherPATSections(dvbpsi_t* p_dvbpsi, dvbpsi_psi_section_t* p_sectio
void
dvbpsi_DecodePATSections
(
dvbpsi_pat_t
*
p_pat
,
void
dvbpsi_DecodePATSections
(
dvbpsi_pat_t
*
p_pat
,
dvbpsi_psi_section_t
*
p_section
)
dvbpsi_psi_section_t
*
p_section
)
{
{
while
(
p_section
)
while
(
p_section
)
{
{
for
(
uint8_t
*
p_byte
=
p_section
->
p_payload_start
;
for
(
uint8_t
*
p_byte
=
p_section
->
p_payload_start
;
p_byte
<
p_section
->
p_payload_end
;
p_byte
<
p_section
->
p_payload_end
;
p_byte
+=
4
)
p_byte
+=
4
)
{
{
...
@@ -373,7 +373,6 @@ void dvbpsi_DecodePATSections(dvbpsi_pat_t* p_pat,
...
@@ -373,7 +373,6 @@ void dvbpsi_DecodePATSections(dvbpsi_pat_t* p_pat,
}
}
}
}
/*****************************************************************************
/*****************************************************************************
* dvbpsi_GenPATSections
* dvbpsi_GenPATSections
*****************************************************************************
*****************************************************************************
...
@@ -405,10 +404,10 @@ dvbpsi_psi_section_t* dvbpsi_GenPATSections(dvbpsi_t *p_dvbpsi,
...
@@ -405,10 +404,10 @@ dvbpsi_psi_section_t* dvbpsi_GenPATSections(dvbpsi_t *p_dvbpsi,
p_current
->
p_payload_start
=
p_current
->
p_payload_end
;
p_current
->
p_payload_start
=
p_current
->
p_payload_end
;
/* PAT programs */
/* PAT programs */
while
(
p_program
!=
NULL
)
while
(
p_program
!=
NULL
)
{
{
/* New section if needed */
/* New section if needed */
if
(
++
i_count
>
i_max_pps
)
if
(
++
i_count
>
i_max_pps
)
{
{
p_prev
=
p_current
;
p_prev
=
p_current
;
p_current
=
dvbpsi_NewPSISection
(
1024
);
p_current
=
dvbpsi_NewPSISection
(
1024
);
...
@@ -442,7 +441,7 @@ dvbpsi_psi_section_t* dvbpsi_GenPATSections(dvbpsi_t *p_dvbpsi,
...
@@ -442,7 +441,7 @@ dvbpsi_psi_section_t* dvbpsi_GenPATSections(dvbpsi_t *p_dvbpsi,
/* Finalization */
/* Finalization */
p_prev
=
p_result
;
p_prev
=
p_result
;
while
(
p_prev
!=
NULL
)
while
(
p_prev
!=
NULL
)
{
{
p_prev
->
i_last_number
=
p_current
->
i_number
;
p_prev
->
i_last_number
=
p_current
->
i_number
;
dvbpsi_BuildPSISection
(
p_dvbpsi
,
p_prev
);
dvbpsi_BuildPSISection
(
p_dvbpsi
,
p_prev
);
...
...
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