114
118
* @brief Copies previously decoded bytes to current position.
115
119
* @param back how many bytes back we start
118
122
* cnt > back is valid, this will copy the bytes we just copied,
119
123
* thus creating a repeating pattern with a period length of back.
121
125
static inline void copy_backptr(LZOContext *c, int back, int cnt) {
122
126
register uint8_t *dst = c->out;
123
131
if (dst - c->out_start < back) {
124
132
c->error |= AV_LZO_INVALID_BACKPTR;