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

reimar subversion at mplayerhq.hu
Sun Jan 26 17:20:48 CET 2014


Author: reimar
Date: Sun Jan 26 17:20:48 2014
New Revision: 36745

Log:
subreader: Fix compilation without fribidi.

Modified:
   trunk/sub/subreader.c

Modified: trunk/sub/subreader.c
==============================================================================
--- trunk/sub/subreader.c	Sun Jan 26 17:17:58 2014	(r36744)
+++ trunk/sub/subreader.c	Sun Jan 26 17:20:48 2014	(r36745)
@@ -2513,9 +2513,7 @@ void sub_add_text(subtitle *sub, const c
   int double_newline = 1; // ignore newlines at the beginning
   int i, pos;
   char *buf;
-#ifdef CONFIG_FRIBIDI
-  int orig_lines = sub->lines;
-#endif
+  int av_unused orig_lines = sub->lines;
   if (sub->lines >= SUB_MAX_TEXT) return;
   pos = 0;
   buf = malloc(MAX_SUBLINE + 1);


More information about the MPlayer-cvslog mailing list