summaryrefslogtreecommitdiff
path: root/libavcodec/lzo.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2007-01-31 20:26:32 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2007-01-31 20:26:32 +0000
commit9b2c14df60bbd73c38774e3a0d3f63f99a6be465 (patch)
tree2dc94fd7c6fb8984e5e0444e114c6661a43dddd8 /libavcodec/lzo.c
parent1db8c21c1fd76dc4b460104eec82a322ce3ad728 (diff)
Documentation fix: Copy functions should "work" fine for cnt == 0
Originally committed as revision 7785 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/lzo.c')
-rw-r--r--libavcodec/lzo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/lzo.c b/libavcodec/lzo.c
index 39accac8b9..ec919c2a95 100644
--- a/libavcodec/lzo.c
+++ b/libavcodec/lzo.c
@@ -81,7 +81,7 @@ static inline int get_len(LZOContext *c, int x, int mask) {
/**
* \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 @@ static inline void copy(LZOContext *c, int cnt) {
/**
* \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.