From 42757b735ba5c97466ea1c86d8dd5463c51ce85a Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 2 Sep 2018 23:09:08 +0900 Subject: [PATCH] internal/png: Update --- internal/png/stdlibreader.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/png/stdlibreader.go b/internal/png/stdlibreader.go index d7d589746..ca9878064 100644 --- a/internal/png/stdlibreader.go +++ b/internal/png/stdlibreader.go @@ -6,7 +6,7 @@ // Package png implements a PNG image decoder and encoder. // -// The PNG specification is at http://www.w3.org/TR/PNG/. +// The PNG specification is at https://www.w3.org/TR/PNG/. package png import ( @@ -75,7 +75,7 @@ type interlaceScan struct { } // interlacing defines Adam7 interlacing, with 7 passes of reduced images. -// See http://www.w3.org/TR/PNG/#8Interlace +// See https://www.w3.org/TR/PNG/#8Interlace var interlacing = []interlaceScan{ {8, 8, 0, 0}, {8, 8, 4, 0}, @@ -91,7 +91,7 @@ var interlacing = []interlaceScan{ // present), IDAT and IEND chunks must appear in that order. There may be // multiple IDAT chunks, and IDAT chunks must be sequential (i.e. they may not // have any other chunks between them). -// http://www.w3.org/TR/PNG/#5ChunkOrdering +// https://www.w3.org/TR/PNG/#5ChunkOrdering const ( dsStart = iota dsSeenIHDR