diff options
Diffstat (limited to 'liblss16.h')
| -rw-r--r-- | liblss16.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -224,7 +224,7 @@ struct liblss16_encoder { uint8_t header_position; uint8_t previous; uint8_t nbuffered; - uint8_t buffered[6]; + uint8_t buffered[7]; }; @@ -305,8 +305,8 @@ int liblss16_encoder_init(struct liblss16_encoder *encoder, const struct liblss1 * @param encoder Encoder state, must have been initialised with * `liblss16_encoder_init` before the first call * @param buffer Output buffer for the image data - * @param size Size of `buffer` - * @param written_out The number of bytes written to `size`, must be at least 1 + * @param size Size of `buffer`, must be at least 1 + * @param written_out The number of bytes written to `size` * @param pixels Buffer with pixels to encode; the pixels are to preencoded * (before the function is called) with the colour index of * each pixel. Pixels are input primarily from to the top |
