From 11a8ebf1ee3f3485cda068e1ba2761a8d017ee56 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Sun, 27 May 2018 19:31:19 +1000 Subject: [PATCH] Add commentary about std/gif's decode_id parts --- std/gif/decode_gif.wuffs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/std/gif/decode_gif.wuffs b/std/gif/decode_gif.wuffs index cead0961..a7d51c89 100644 --- a/std/gif/decode_gif.wuffs +++ b/std/gif/decode_gif.wuffs @@ -333,9 +333,9 @@ pri func decoder.decode_gc?(src base.io_reader)() { // // See the spec section 20 "Image Descriptor" on page 11. // -// The code is split into two parts because determining the overall image's -// width and height also requires decoding the first frame's bounds (but -// doesn't require decoding the first frame's pixels). +// The code is split into two parts (part0 and part1) because determining the +// overall image's width and height also requires decoding the first frame's +// bounds (but doesn't require decoding the first frame's pixels). pri func decoder.decode_id_part0?(src base.io_reader)() { var frame_x base.u32 = in.src.read_u16le?() as base.u32 var frame_y base.u32 = in.src.read_u16le?() as base.u32