From 2ad1d1c0c2885a18a7228acc64e8c4b8d857db53 Mon Sep 17 00:00:00 2001 From: voroshil Date: Sun, 26 Aug 2007 05:15:53 +0000 Subject: Remove ugly Russian language support hack. Currently support for only Latin-1 languages is left. Proper solution for another languages will be added later. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24205 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/tvi_vbi.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'stream') diff --git a/stream/tvi_vbi.c b/stream/tvi_vbi.c index 82d3b86faa..a7ea54a494 100644 --- a/stream/tvi_vbi.c +++ b/stream/tvi_vbi.c @@ -262,17 +262,7 @@ static unsigned int latin_subchars[8][13]={ }; static int lang2id (int lang){ - switch(lang){ - case 0: - return LAT_UNI; - case 3: /* Stub. My teletext provider (1TV, Russia) sets this this language - code for russian teletext pages - TODO: make this configurable - */ - return RUS_UNI; - default: - return LAT_UNI; - } + return LAT_UNI; } /** -- cgit v1.2.3