[vlc-devel] commit: Improve comment wording in vlc_block.h (Jean-Paul Saman )

git version control git at videolan.org
Mon Aug 11 13:37:28 CEST 2008


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Mon Aug 11 11:44:17 2008 +0800| [496e7390f24d8e02710e018a0640b15d0f6d4c7d] | committer: Jean-Paul Saman 

Improve comment wording in vlc_block.h

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=496e7390f24d8e02710e018a0640b15d0f6d4c7d
---

 include/vlc_block.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/vlc_block.h b/include/vlc_block.h
index 673414c..857b41d 100644
--- a/include/vlc_block.h
+++ b/include/vlc_block.h
@@ -135,6 +135,7 @@ static inline block_t *block_Duplicate( block_t *p_block )
 
     return p_dup;
 }
+
 static inline void block_Release( block_t *p_block )
 {
     p_block->pf_release( p_block );
@@ -146,14 +147,14 @@ VLC_EXPORT( block_t *, block_File, (int fd) );
 /****************************************************************************
  * Chains of blocks functions helper
  ****************************************************************************
- * - block_ChainAppend : append a block the the last block of a chain. Try to
+ * - block_ChainAppend : append a block to the last block of a chain. Try to
  *      avoid using with a lot of data as it's really slow, prefer
  *      block_ChainLastAppend
  * - block_ChainLastAppend : use a pointer over a pointer to the next blocks,
  *      and update it.
  * - block_ChainRelease : release a chain of block
  * - block_ChainExtract : extract data from a chain, return real bytes counts
- * - block_ChainGather : gather a chain, free it and return a block.
+ * - block_ChainGather : gather a chain, free it and return one block.
  ****************************************************************************/
 static inline void block_ChainAppend( block_t **pp_list, block_t *p_block )
 {
@@ -170,7 +171,7 @@ static inline void block_ChainAppend( block_t **pp_list, block_t *p_block )
     }
 }
 
-static inline void block_ChainLastAppend( block_t ***ppp_last, block_t *p_block  )
+static inline void block_ChainLastAppend( block_t ***ppp_last, block_t *p_block )
 {
     block_t *p_last = p_block;
 
@@ -236,7 +237,6 @@ static inline block_t *block_ChainGather( block_t *p_list )
     return g;
 }
 
-
 /****************************************************************************
  * Fifos of blocks.
  ****************************************************************************




More information about the vlc-devel mailing list