diff options
author | dcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2011-02-17 07:53:46 +0000 |
---|---|---|
committer | dcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2011-02-17 07:53:46 +0000 |
commit | d29415f11f40badc6243547f6fda7c4e80e812c3 (patch) | |
tree | 8aa933022ef2717c44f82d64d11c97879c7bf173 /branches | |
parent | 1fa80aadcd0c255c995c1ecbe6203e844167e903 (diff) |
Fix typo that was causing visual artifacts in grayscale JPEGs
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@377 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'branches')
-rw-r--r-- | branches/1.0.x/ChangeLog.txt | 3 | ||||
-rw-r--r-- | branches/1.0.x/jccolor.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/branches/1.0.x/ChangeLog.txt b/branches/1.0.x/ChangeLog.txt index 2d805fa..d82b0f6 100644 --- a/branches/1.0.x/ChangeLog.txt +++ b/branches/1.0.x/ChangeLog.txt @@ -3,6 +3,9 @@ [1] Added further protections against invalid Huffman codes. +[2] Fixed visual artifacts in grayscale JPEG compression caused by a typo in +the RGB-to-chrominance lookup tables. + 1.0.1 ===== diff --git a/branches/1.0.x/jccolor.c b/branches/1.0.x/jccolor.c index 2e2bfd2..05da604 100644 --- a/branches/1.0.x/jccolor.c +++ b/branches/1.0.x/jccolor.c @@ -122,7 +122,7 @@ const unsigned char green_lut[256] = { 113, 113, 114, 114, 115, 116, 116, 117, 117, 118, 119, 119, 120, 120, 121, 122, 122, 123, 123, 124, 124, 125, 126, 126, 127, 127, 128, 129, 129, 130, 130, 131, 131, 132, 133, 133, - 34, 134, 135, 136, 136, 137, 137, 138, 139, 139, 140, 140, + 134, 134, 135, 136, 136, 137, 137, 138, 139, 139, 140, 140, 141, 141, 142, 143, 143, 144, 144, 145, 146, 146, 147, 147, 148, 149, 149, 150 }; |