RST table: indentation fixes.

[email protected] (Jean-Paul Saman)
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <[email protected]>
libdvbpsi | branch: master | Jean-Paul Saman <[email protected]> | 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);

_______________________________________________
libdvbpsi-devel mailing list
[email protected]
http://mailman.videolan.org/listinfo/libdvbpsi-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.