diff sub/subreader.c @ 36649:780f1cf49497

subreader: Fix compilation without fribidi.
author reimar
date Sun, 26 Jan 2014 16:20:48 +0000
parents 715567f3387f
children 8e89cf177d51
line wrap: on
line diff
--- a/sub/subreader.c	Sun Jan 26 16:17:58 2014 +0000
+++ b/sub/subreader.c	Sun Jan 26 16:20:48 2014 +0000
@@ -2513,9 +2513,7 @@
   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);