From fd6f6463efc0538ae3658363e315ea182a5217fd Mon Sep 17 00:00:00 2001 From: Dominic Szablewski Date: Wed, 5 Jan 2022 16:57:38 +0100 Subject: [PATCH] Fix documentation for consecutive QOI_OP_INDEX chunks; close #112 --- qoi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qoi.h b/qoi.h index 12901640..988f9edc 100644 --- a/qoi.h +++ b/qoi.h @@ -135,8 +135,8 @@ The possible chunks are: 2-bit tag b00 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 -index 0, to avoid confusion with the 8 byte end marker. +A valid encoder must not issue 2 or more consecutive QOI_OP_INDEX chunks to the +same index. QOI_OP_RUN should be used instead. .- QOI_OP_DIFF -----------.