summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-29 13:37:12 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-29 13:37:12 +0000
commitb32b4824f80145c4f1178d095fcfdc1a910ce753 (patch)
tree624aec2596a3c62887071a7f34a9113ef54c7e83 /stream
parentbe2c2bdccb35b9948c21a7768ecd5055e331add8 (diff)
downloadmpv-b32b4824f80145c4f1178d095fcfdc1a910ce753.tar.bz2
mpv-b32b4824f80145c4f1178d095fcfdc1a910ce753.tar.xz
Make charset constants naming consistant
(renamed according to specification). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24291 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r--stream/tvi_vbi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/stream/tvi_vbi.c b/stream/tvi_vbi.c
index 73c2033a99..423d1ed23c 100644
--- a/stream/tvi_vbi.c
+++ b/stream/tvi_vbi.c
@@ -200,9 +200,9 @@ static const unsigned char corrHamm48[256]={
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 int p,int lang)
{
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){