summaryrefslogtreecommitdiffstats
path: root/mpeglib/lib/util/render
diff options
context:
space:
mode:
Diffstat (limited to 'mpeglib/lib/util/render')
-rw-r--r--mpeglib/lib/util/render/dither/colorTable8Bit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpeglib/lib/util/render/dither/colorTable8Bit.cpp b/mpeglib/lib/util/render/dither/colorTable8Bit.cpp
index 57c533de..fa3aa84d 100644
--- a/mpeglib/lib/util/render/dither/colorTable8Bit.cpp
+++ b/mpeglib/lib/util/render/dither/colorTable8Bit.cpp
@@ -59,7 +59,7 @@ void ColorTable8Bit::init8BitColor() {
for (i=0; i<CR_RANGE; i++) {
- register double tmp;
+ double tmp;
if (chromaCorrectFlag) {
tmp = ((i * 256) / (CR_RANGE)) + (256/(CR_RANGE*2));
Cr_r_tab[i]=(TABTYPE) ((0.419/0.299)*CHROMA_CORRECTION128D(tmp-128.0));
@@ -75,7 +75,7 @@ void ColorTable8Bit::init8BitColor() {
for (i=0; i<CB_RANGE; i++) {
- register double tmp;
+ double tmp;
if (chromaCorrectFlag) {
tmp = ((i * 256) / (CB_RANGE)) + (256/(CB_RANGE*2));
Cb_g_tab[i]=(TABTYPE) (-(0.114/0.331)*CHROMA_CORRECTION128D(tmp-128.0));