diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:37 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 23:52:44 +0900 |
| commit | 0c9e076a4ab62782b73ac09fb45fd9da0df19aec (patch) | |
| tree | 93c54de885a10fdfb44b39fee0972aa9b394e8d9 /mpeglib/lib/util | |
| parent | e51ec3eaa1902878a55ad0ca8ed50f6c5662d352 (diff) | |
| download | tdemultimedia-0c9e076a4ab62782b73ac09fb45fd9da0df19aec.tar.gz tdemultimedia-0c9e076a4ab62782b73ac09fb45fd9da0df19aec.zip | |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 6db8697910438fd063598f66a73b68d2dcd70a36)
Diffstat (limited to 'mpeglib/lib/util')
| -rw-r--r-- | mpeglib/lib/util/audio/audioIO_BeOS.cpp | 2 | ||||
| -rw-r--r-- | mpeglib/lib/util/render/dither/colorTable8Bit.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mpeglib/lib/util/audio/audioIO_BeOS.cpp b/mpeglib/lib/util/audio/audioIO_BeOS.cpp index ae4cf5a1..ff73cd57 100644 --- a/mpeglib/lib/util/audio/audioIO_BeOS.cpp +++ b/mpeglib/lib/util/audio/audioIO_BeOS.cpp @@ -126,7 +126,7 @@ int audioRead(char *buffer, int count) { //printf("acquiring ok_to_read (%d bytes)\n", count); if (acquire_sem(ok_to_read)==B_NO_ERROR) { - for (register int i=0; i < count;i++) { + for (int i=0; i < count;i++) { *(buffer++)+=*(readbase++); } bytes_in_streambuf-=count; 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)); |
