diff options
| author | Mattias Andrée <m@maandree.se> | 2026-03-01 03:56:16 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-03-01 03:56:16 +0100 |
| commit | 948b23ca1fabfe65ab36d866031422e92840282f (patch) | |
| tree | 07ff00b4959f734f65761896d39920e27396feb7 /liblss16.h | |
| parent | fix typos (diff) | |
| download | liblss16-948b23ca1fabfe65ab36d866031422e92840282f.tar.gz liblss16-948b23ca1fabfe65ab36d866031422e92840282f.tar.bz2 liblss16-948b23ca1fabfe65ab36d866031422e92840282f.tar.xz | |
Fix mistakes, and finish ppmtolss16
Signed-off-by: Mattias Andrée <m@maandree.se>
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 |
