[MPlayer-cvslog] r33428 - trunk/sub/subreader.c

reimar subversion at mplayerhq.hu
Sat May 7 22:43:20 CEST 2011


Author: reimar
Date: Sat May  7 22:43:19 2011
New Revision: 33428

Log:
Change variable type to match type in fribidi function declaration.

Modified:
   trunk/sub/subreader.c

Modified: trunk/sub/subreader.c
==============================================================================
--- trunk/sub/subreader.c	Sat May  7 22:35:47 2011	(r33427)
+++ trunk/sub/subreader.c	Sat May  7 22:43:19 2011	(r33428)
@@ -1240,7 +1240,7 @@ static subtitle* sub_fribidi (subtitle *
 {
   FriBidiChar logical[LINE_LEN+1], visual[LINE_LEN+1]; // Hopefully these two won't smash the stack
   char        *ip      = NULL, *op     = NULL;
-  FriBidiCharType base;
+  FriBidiParType base;
   size_t len,orig_len;
   int l=sub->lines;
   int char_set_num;
@@ -1264,7 +1264,7 @@ static subtitle* sub_fribidi (subtitle *
       break;
     }
     len = fribidi_charset_to_unicode (char_set_num, ip, len, logical);
-    base = fribidi_flip_commas?FRIBIDI_TYPE_ON:FRIBIDI_TYPE_L;
+    base = fribidi_flip_commas?FRIBIDI_PAR_ON:FRIBIDI_PAR_LTR;
     log2vis = fribidi_log2vis (logical, len, &base,
 			       /* output */
 			       visual, NULL, NULL, NULL);


More information about the MPlayer-cvslog mailing list