Fix documentation for consecutive QOI_OP_INDEX chunks; close #112

This commit is contained in:
Dominic Szablewski 2022-01-05 16:57:38 +01:00
parent 07116e8b89
commit fd6f6463ef

4
qoi.h
View File

@ -135,8 +135,8 @@ The possible chunks are:
2-bit tag b00 2-bit tag b00
6-bit index into the color index array: 0..63 6-bit index into the color index array: 0..63
A valid encoder must not issue 7 or more consecutive QOI_OP_INDEX chunks to the A valid encoder must not issue 2 or more consecutive QOI_OP_INDEX chunks to the
index 0, to avoid confusion with the 8 byte end marker. same index. QOI_OP_RUN should be used instead.
.- QOI_OP_DIFF -----------. .- QOI_OP_DIFF -----------.