[libdvbpsi-devel] RST table: indentation fixes.

Jean-Paul Saman git at videolan.org
Thu Aug 9 12:55:35 CEST 2012


libdvbpsi | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Thu Aug  9 12:54:56 2012 +0200| [e4b03fdd92c7feb26529573c35ee676bad83ebf1] | committer: Jean-Paul Saman

RST table: indentation fixes.

> http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commit;h=e4b03fdd92c7feb26529573c35ee676bad83ebf1
---

 src/tables/rst.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/tables/rst.c b/src/tables/rst.c
index 31b0b99..d0e7759 100644
--- a/src/tables/rst.c
+++ b/src/tables/rst.c
@@ -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.
  *****************************************************************************/
-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_current = p_result;
     dvbpsi_psi_section_t* p_prev;
@@ -224,7 +225,7 @@ dvbpsi_psi_section_t* dvbpsi_rst_sections_generate(dvbpsi_t *p_dvbpsi, dvbpsi_rs
     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 */
-        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[1+i_count] = (p_event->i_ts_id & 0xFF);



More information about the libdvbpsi-devel mailing list