Commit cfda2b01 authored by reimar's avatar reimar

Documentation fix: Copy functions should "work" fine for cnt == 0


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7785 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 79c2dd30
...@@ -81,7 +81,7 @@ static inline int get_len(LZOContext *c, int x, int mask) { ...@@ -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 * \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) { static inline void copy(LZOContext *c, int cnt) {
register uint8_t *src = c->in; register uint8_t *src = c->in;
...@@ -109,7 +109,7 @@ static inline void copy(LZOContext *c, int cnt) { ...@@ -109,7 +109,7 @@ static inline void copy(LZOContext *c, int cnt) {
/** /**
* \brief copy previously decoded bytes to current position * \brief copy previously decoded bytes to current position
* \param back how many bytes back we start * \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, * cnt > back is valid, this will copy the bytes we just copied,
* thus creating a repeating pattern with a period length of back. * thus creating a repeating pattern with a period length of back.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment