Skip to content

Commit 64f992e

Browse files
committed
Corrected comment
1 parent e29c0a5 commit 64f992e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/libImaging/Pack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ packLA(UINT8 *out, const UINT8 *in, int pixels) {
245245
static void
246246
packRG(UINT8 *out, const UINT8 *in, int pixels) {
247247
int i;
248-
/* LA, pixel interleaved */
248+
/* RG, pixel interleaved */
249249
for (i = 0; i < pixels; i++) {
250250
out[0] = in[R];
251251
out[1] = in[G];

src/libImaging/Unpack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ unpackLA(UINT8 *_out, const UINT8 *in, int pixels) {
429429
static void
430430
unpackRG(UINT8 *_out, const UINT8 *in, int pixels) {
431431
int i;
432-
/* LA, pixel interleaved */
432+
/* RG, pixel interleaved */
433433
for (i = 0; i < pixels; i++) {
434434
_out[R] = in[0];
435435
_out[G] = in[1];

0 commit comments

Comments
 (0)