Commit 4ce2b8c3 authored by Jean-Paul Saman's avatar Jean-Paul Saman

src/tables/pat.c: Cleanup indentation

parent c932b126
...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment