From 496e7390f24d8e02710e018a0640b15d0f6d4c7d Mon Sep 17 00:00:00 2001 From: Jean-Paul Saman Date: Mon, 11 Aug 2008 11:44:17 +0800 Subject: [PATCH] Improve comment wording in vlc_block.h --- include/vlc_block.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/vlc_block.h b/include/vlc_block.h index 673414c438..857b41d2dc 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. **************************************************************************** -- 2.39.2