summaryrefslogtreecommitdiffstats
path: root/mpeglib/lib/splay/mpegAudioBitWindow.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 23:52:44 +0900
commit0c9e076a4ab62782b73ac09fb45fd9da0df19aec (patch)
tree93c54de885a10fdfb44b39fee0972aa9b394e8d9 /mpeglib/lib/splay/mpegAudioBitWindow.h
parente51ec3eaa1902878a55ad0ca8ed50f6c5662d352 (diff)
downloadtdemultimedia-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/splay/mpegAudioBitWindow.h')
-rw-r--r--mpeglib/lib/splay/mpegAudioBitWindow.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/mpeglib/lib/splay/mpegAudioBitWindow.h b/mpeglib/lib/splay/mpegAudioBitWindow.h
index f7a2f64c..534ff9fe 100644
--- a/mpeglib/lib/splay/mpegAudioBitWindow.h
+++ b/mpeglib/lib/splay/mpegAudioBitWindow.h
@@ -99,15 +99,15 @@ class MpegAudioBitWindow {
int getbit(void) {
- register int r=(buffer[(bitindex>>3)&(WINDOWSIZE-1)]>>(7-(bitindex&7)))&1;
- //register int r=(buffer[bitindex>>3]>>(7-(bitindex&7)))&1;
+ int r=(buffer[(bitindex>>3)&(WINDOWSIZE-1)]>>(7-(bitindex&7)))&1;
+ //int r=(buffer[bitindex>>3]>>(7-(bitindex&7)))&1;
bitindex++;
return r;
}
// no range check version
inline int getbits9_f(int bits) {
- register unsigned short a;
+ unsigned short a;
{
int offset=bitindex>>3;
a=(((unsigned char)buffer[offset])<<8)|((unsigned char)buffer[offset+1]);
@@ -119,7 +119,7 @@ class MpegAudioBitWindow {
// range check version
int getbits9(int bits) {
- register unsigned short a;
+ unsigned short a;
{
int offset=(bitindex>>3)&(WINDOWSIZE-1);
a=(((unsigned char)buffer[offset])<<8)|((unsigned char)buffer[offset+1]);