[vlc-commits] commit: add comment that BlockChainAppend() can take NULL (somewhat obvious , but just in case) (Ilkka Ollakka )

git at videolan.org git at videolan.org
Thu Apr 29 20:54:22 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Thu Apr 29 21:37:18 2010 +0300| [d8bc8db8f074a4c9fe38910688d5d7caa8989e21] | committer: Ilkka Ollakka 

add comment that BlockChainAppend() can take NULL (somewhat obvious, but just in case)

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

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

diff --git a/include/vlc_block.h b/include/vlc_block.h
index 887cd2d..21587ad 100644
--- a/include/vlc_block.h
+++ b/include/vlc_block.h
@@ -180,7 +180,7 @@ static inline void block_Cleanup (void *block)
  ****************************************************************************
  * - 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, p_block can be NULL
  * - block_ChainLastAppend : use a pointer over a pointer to the next blocks,
  *      and update it.
  * - block_ChainRelease : release a chain of block



More information about the vlc-commits mailing list