Remove obsolete padding specification; already specified above; #96

This commit is contained in:
Dominic Szablewski 2021-12-20 11:38:09 +01:00
parent b9a9378223
commit e276f58931

7
qoi.h
View File

@ -219,13 +219,6 @@ QOI_OP_RGBA tags.
8-bit blue channel value 8-bit blue channel value
8-bit alpha 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.
*/ */