[MPlayer-cvslog] CVS: main subreader.c,1.151,1.152

Uoti Urpala CVS syncmail at mplayerhq.hu
Thu May 18 20:31:16 CEST 2006


CVS change done by Uoti Urpala CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv26468

Modified Files:
	subreader.c 
Log Message:
Use 0 and 1 instead of FRIBIDI_FALSE and FRIBIDI_TRUE which are no
longer defined in the current development version of FriBidi. This
reportedly allows compiling MPlayer with the development version which
is needed for Arabic support (some used functions are marked as 
deprecated though). Should be safe with older FriBidi versions.


Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -r1.151 -r1.152
--- subreader.c	14 May 2006 22:06:59 -0000	1.151
+++ subreader.c	18 May 2006 18:31:14 -0000	1.152
@@ -1194,8 +1194,8 @@
   int char_set_num;
   fribidi_boolean log2vis;
   if(flip_hebrew) { // Please fix the indentation someday
-  fribidi_set_mirroring (FRIBIDI_TRUE);
-  fribidi_set_reorder_nsm (FRIBIDI_FALSE);
+  fribidi_set_mirroring(1);
+  fribidi_set_reorder_nsm(0);
    
   if( sub_utf8 == 0 ) {
     char_set_num = fribidi_parse_charset (fribidi_charset?fribidi_charset:"ISO8859-8");




More information about the MPlayer-cvslog mailing list