ATSC: whitespace cleanup

[email protected] (Jean-Paul Saman)
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <[email protected]>
libdvbpsi | branch: master | Jean-Paul Saman <[email protected]> | Mon May  7 16:43:07 2012 +0200| [5070805f5c6f9c1acac94daf24092badf87c75a1] | committer: Jean-Paul Saman

ATSC: whitespace cleanup

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

 src/descriptors/dr_62.h |    2 +-
 src/descriptors/dr_66.c |    2 +-
 src/descriptors/dr_66.h |    2 +-
 src/descriptors/dr_73.c |    2 +-
 src/descriptors/dr_76.c |    7 +++----
 src/descriptors/dr_76.h |    4 ++--
 src/tables/atsc_ett.h   |    4 ++--
 7 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/src/descriptors/dr_62.h b/src/descriptors/dr_62.h
index 3c9b4f0..a63548c 100644
--- a/src/descriptors/dr_62.h
+++ b/src/descriptors/dr_62.h
@@ -56,7 +56,7 @@ typedef struct dvbpsi_frequency_list_dr_s
  *        dvbpsi_descriptor_t *p_descriptor)
  * \brief Decode a Frequency List descriptor (tag 0x62)
  * \param p_descriptor Raw descriptor to decode.
- * \return NULL if the descriptor could not be decoded or a pointer to a 
+ * \return NULL if the descriptor could not be decoded or a pointer to a
  *         dvbpsi_frequency_list_dr_t structure.
  */
 dvbpsi_frequency_list_dr_t *dvbpsi_DecodeFrequencyListDr(dvbpsi_descriptor_t *p_descriptor);
diff --git a/src/descriptors/dr_66.c b/src/descriptors/dr_66.c
index 99fdfd0..dff00b1 100644
--- a/src/descriptors/dr_66.c
+++ b/src/descriptors/dr_66.c
@@ -68,7 +68,7 @@ dvbpsi_data_broadcast_id_dr_t *dvbpsi_DecodeDataBroadcastIdDr(dvbpsi_descriptor_
     /* Check length */
     if (p_descriptor->i_length < 2)
         return NULL;
-    
+
     p_decoded = NewDataBroadcastDr(p_descriptor->i_length - 2);
     if (!p_decoded)
         return NULL;
diff --git a/src/descriptors/dr_66.h b/src/descriptors/dr_66.h
index ed83945..61cb7d9 100644
--- a/src/descriptors/dr_66.h
+++ b/src/descriptors/dr_66.h
@@ -53,7 +53,7 @@ typedef struct dvbpsi_data_broadcast_id_dr_s
  *        dvbpsi_descriptor_t *p_descriptor)
  * \brief Decode a Data broadcast id descriptor (tag 0x66)
  * \param p_descriptor Raw descriptor to decode.
- * \return NULL if the descriptor could not be decoded or a pointer to a 
+ * \return NULL if the descriptor could not be decoded or a pointer to a
  *         dvbpsi_data_broadcast_id_dr_t structure.
  */
 dvbpsi_data_broadcast_id_dr_t *dvbpsi_DecodeDataBroadcastIdDr(dvbpsi_descriptor_t *p_descriptor);
diff --git a/src/descriptors/dr_73.c b/src/descriptors/dr_73.c
index 72ae393..9d22c78 100644
--- a/src/descriptors/dr_73.c
+++ b/src/descriptors/dr_73.c
@@ -47,7 +47,7 @@ dvbpsi_default_authority_dr_t *dvbpsi_DecodeDefaultAuthorityDr(dvbpsi_descriptor
     /* Don't decode twice */
     if (p_descriptor->p_decoded)
         return p_descriptor->p_decoded;
-    
+
     p_decoded = (dvbpsi_default_authority_dr_t*)malloc(sizeof(dvbpsi_default_authority_dr_t));
     if (!p_decoded)
         return NULL;
diff --git a/src/descriptors/dr_76.c b/src/descriptors/dr_76.c
index cc84b4b..cd2ec2e 100644
--- a/src/descriptors/dr_76.c
+++ b/src/descriptors/dr_76.c
@@ -48,7 +48,7 @@ dvbpsi_content_id_dr_t *dvbpsi_DecodeContentIdDr(dvbpsi_descriptor_t *p_descript
     /* Don't decode twice */
     if (p_descriptor->p_decoded)
         return p_descriptor->p_decoded;
-    
+
     /* Check boundaries */
     if (p_descriptor->i_length > ARRAY_SIZE(p_decoded->p_entries))
         p_descriptor->i_length = ARRAY_SIZE(p_decoded->p_entries);
@@ -65,7 +65,7 @@ dvbpsi_content_id_dr_t *dvbpsi_DecodeContentIdDr(dvbpsi_descriptor_t *p_descript
         entry->i_type = (p_descriptor->p_data[byte] >> 2) & 0x3f;
         entry->i_location = p_descriptor->p_data[byte] & 3;
         byte ++;
-        
+
         if (entry->i_location == CRID_LOCATION_DESCRIPTOR)
         {
             uint8_t len = p_descriptor->p_data[byte];
@@ -76,7 +76,7 @@ dvbpsi_content_id_dr_t *dvbpsi_DecodeContentIdDr(dvbpsi_descriptor_t *p_descript
             byte ++;
             for (i = 0; i < len; i ++)
             {
-                entry->value.path[i] = p_descriptor->p_data[byte + i];     
+                entry->value.path[i] = p_descriptor->p_data[byte + i];
             }
             byte += len;
             entry->value.path[i] = 0;
@@ -85,7 +85,6 @@ dvbpsi_content_id_dr_t *dvbpsi_DecodeContentIdDr(dvbpsi_descriptor_t *p_descript
         {
             entry->value.ref = (p_descriptor->p_data[byte] << 8) | p_descriptor->p_data[byte + 1];
             byte += 2;
-            
         }
         else
         {
diff --git a/src/descriptors/dr_76.h b/src/descriptors/dr_76.h
index 0365041..e71aa25 100644
--- a/src/descriptors/dr_76.h
+++ b/src/descriptors/dr_76.h
@@ -35,7 +35,7 @@ extern "C" {
 
 #define CRID_LOCATION_DESCRIPTOR 0
 #define CRID_LOCATION_CIT        1
-    
+
 /*****************************************************************************
  * dvbpsi_lcn_entry_t
  *****************************************************************************/
@@ -52,7 +52,7 @@ extern "C" {
 typedef struct dvbpsi_crid_entry_s
 {
     uint8_t i_type;
-    uint8_t i_location; 
+    uint8_t i_location;
     union
     {
         uint8_t  path[253];
diff --git a/src/tables/atsc_ett.h b/src/tables/atsc_ett.h
index cf09aad..e863b2e 100644
--- a/src/tables/atsc_ett.h
+++ b/src/tables/atsc_ett.h
@@ -21,7 +21,7 @@ Decode PSIP Extended Text Table.
 
 */
 #ifndef _ATSC_ETT_H
-#define _ATSC_ETT_H 
+#define _ATSC_ETT_H
 
 #ifdef __cplusplus
 extern "C" {
@@ -96,7 +96,7 @@ void dvbpsi_atsc_DetachETT(dvbpsi_demux_t * p_demux, uint8_t i_table_id,
  * dvbpsi_atsc_InitETT/dvbpsi_atsc_NewETT
  *****************************************************************************/
 /*!
- * \fn void dvbpsi_atsc_InitETT(dvbpsi_atsc_ett_t* p_ett, uint8_t i_version, 
+ * \fn void dvbpsi_atsc_InitETT(dvbpsi_atsc_ett_t* p_ett, uint8_t i_version,
         int b_current_next, uint8_t i_protocol)
  * \brief Initialize a user-allocated dvbpsi_atsc_ett_t structure.
  * \param p_ett pointer to the ETT structure

_______________________________________________
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.