r7785 - trunk/libavcodec/lzo.c
Author: reimar Date: Wed Jan 31 21:26:32 2007 New Revision: 7785 Modified: trunk/libavcodec/lzo.c Log: Documentation fix: Copy functions should "work" fine for cnt == 0 Modified: trunk/libavcodec/lzo.c ============================================================================== --- trunk/libavcodec/lzo.c (original) +++ trunk/libavcodec/lzo.c Wed Jan 31 21:26:32 2007 @@ -81,7 +81,7 @@ /** * \brief copy bytes from input to output buffer with checking - * \param cnt number of bytes to copy, must be > 0 + * \param cnt number of bytes to copy, must be >= 0 */ static inline void copy(LZOContext *c, int cnt) { register uint8_t *src = c->in; @@ -109,7 +109,7 @@ /** * \brief copy previously decoded bytes to current position * \param back how many bytes back we start - * \param cnt number of bytes to copy, must be > 0 + * \param cnt number of bytes to copy, must be >= 0 * * cnt > back is valid, this will copy the bytes we just copied, * thus creating a repeating pattern with a period length of back.
participants (1)
-
subversion@mplayerhq.hu