diff options
author | dcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2011-02-17 07:51:35 +0000 |
---|---|---|
committer | dcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2011-02-17 07:51:35 +0000 |
commit | 1fa80aadcd0c255c995c1ecbe6203e844167e903 (patch) | |
tree | b136038ae73ba8acc025d5f318701ea2e849e229 /branches | |
parent | b7481bbb92179beadda35732a15a5e9494696d5a (diff) |
Fix typo that was causing visual artifacts in grayscale JPEGs
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@376 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'branches')
-rw-r--r-- | branches/1.1.x/ChangeLog.txt | 3 | ||||
-rw-r--r-- | branches/1.1.x/jccolor.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/branches/1.1.x/ChangeLog.txt b/branches/1.1.x/ChangeLog.txt index 2265938..0097c41 100644 --- a/branches/1.1.x/ChangeLog.txt +++ b/branches/1.1.x/ChangeLog.txt @@ -9,6 +9,9 @@ but is necessary to ensure that the images are perceptually lossless. [2] Ported jpgtest.cxx to pure C to avoid the need for a C++ compiler. +[3] Fixed visual artifacts in grayscale JPEG compression caused by a typo in +the RGB-to-chrominance lookup tables. + 1.0.90 (1.1 beta1) ================== diff --git a/branches/1.1.x/jccolor.c b/branches/1.1.x/jccolor.c index fe979b2..5c186d4 100644 --- a/branches/1.1.x/jccolor.c +++ b/branches/1.1.x/jccolor.c @@ -122,7 +122,7 @@ static 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 }; |