]> Cypherpunks repositories - gostls13.git/commit
image/jpeg: fix bounds calculation for grayscale JPEG images.
authorNigel Tao <nigeltao@golang.org>
Tue, 17 May 2011 22:47:14 +0000 (15:47 -0700)
committerNigel Tao <nigeltao@golang.org>
Tue, 17 May 2011 22:47:14 +0000 (15:47 -0700)
commit5f7b0bc36693c3790e4370c2892e10365a622aff
tree28a8ecb651fe7a669adcc617fbf943e05b3126b5
parent9fa6cb2f2bb77c23043dc38dbb26a3ab1aad51f2
image/jpeg: fix bounds calculation for grayscale JPEG images.

Also add grayscale test cases for image/decode_test.

R=r
CC=golang-dev
https://golang.org/cl/4526063
src/pkg/image/decode_test.go
src/pkg/image/jpeg/reader.go
src/pkg/image/testdata/video-005.gray.jpeg [new file with mode: 0644]
src/pkg/image/testdata/video-005.gray.png [new file with mode: 0644]