[MPlayer-cvslog] r24291 - trunk/stream/tvi_vbi.c

voroshil subversion at mplayerhq.hu
Wed Aug 29 15:37:12 CEST 2007


Author: voroshil
Date: Wed Aug 29 15:37:12 2007
New Revision: 24291

Log:
Make charset constants naming consistant
(renamed according to specification).



Modified:
   trunk/stream/tvi_vbi.c

Modified: trunk/stream/tvi_vbi.c
==============================================================================
--- trunk/stream/tvi_vbi.c	(original)
+++ trunk/stream/tvi_vbi.c	Wed Aug 29 15:37:12 2007
@@ -200,9 +200,9 @@ static const unsigned char corrHamm48[25
 
 
 enum {
-  LAT_UNI=0,
+  LATIN=0,
   CYRILLIC1,
-  RUS_UNI,
+  CYRILLIC2,
   CYRILLIC3,
   GREEK,
   LANGS
@@ -321,7 +321,7 @@ static unsigned int latin_subchars[8][13
 };
 
 static int lang2id (int lang){
-    return LAT_UNI;
+    return LATIN;
 }
 
 /**
@@ -338,7 +338,7 @@ static unsigned int conv2uni(unsigned in
 {
     int charset=lang2id(lang);
     if(p<0x80 && p>=0x20){
-        if(charset==LAT_UNI){
+        if(charset==LATIN){
             if (p>=0x23 && p<=0x24){
                 return latin_subchars[lang][p-0x23];
             }else if (p==0x40){



More information about the MPlayer-cvslog mailing list