From e276f589311d6c25b72252d22d606f49e0b3512b Mon Sep 17 00:00:00 2001 From: Dominic Szablewski Date: Mon, 20 Dec 2021 11:38:09 +0100 Subject: [PATCH] Remove obsolete padding specification; already specified above; #96 --- qoi.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/qoi.h b/qoi.h index c9034fc..ae28362 100644 --- a/qoi.h +++ b/qoi.h @@ -219,13 +219,6 @@ QOI_OP_RGBA tags. 8-bit blue channel value 8-bit alpha channel value - -The byte stream is padded at the end with 8 zero bytes. Since the longest legal -chunk is 5 bytes (QOI_OP_RGBA), with this padding it is possible to check for an -overrun only once per decode loop iteration. These 0x00 bytes also mark the end -of the data stream, as an encoder should never produce 8 consecutive zero bytes -within the stream. - */