replace octal 0177 with 127 to be more clear, no functional change.
authorCampbell Barton <ideasman42@gmail.com>
Sat, 27 Aug 2011 03:34:11 +0000 (03:34 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 27 Aug 2011 03:34:11 +0000 (03:34 +0000)
source/blender/avi/intern/avi.c

index ff3aafb..8ad751a 100644 (file)
@@ -87,17 +87,17 @@ unsigned int GET_TCC (FILE *fp) {
 }
 
 char *fcc_to_char (unsigned int fcc) {
-       DEBUG_FCC[0]= (fcc)&0177;
-       DEBUG_FCC[1]= (fcc>>8)&0177;
-       DEBUG_FCC[2]= (fcc>>16)&0177;
-       DEBUG_FCC[3]= (fcc>>24)&0177;
+       DEBUG_FCC[0]= (fcc)&127;
+       DEBUG_FCC[1]= (fcc>>8)&127;
+       DEBUG_FCC[2]= (fcc>>16)&127;
+       DEBUG_FCC[3]= (fcc>>24)&127;
 
        return DEBUG_FCC;       
 }
 
 char *tcc_to_char (unsigned int tcc) {
-       DEBUG_FCC[0]= (tcc)&0177;
-       DEBUG_FCC[1]= (tcc>>8)&0177;
+       DEBUG_FCC[0]= (tcc)&127;
+       DEBUG_FCC[1]= (tcc>>8)&127;
        DEBUG_FCC[2]= 0;
        DEBUG_FCC[3]= 0;