# HG changeset patch # User reimar # Date 1390753248 0 # Node ID 780f1cf49497ca36d17b0c4aaa0fb56123229d40 # Parent 1506e73596131ce9fed5778cfecc864466761f74 subreader: Fix compilation without fribidi. diff -r 1506e7359613 -r 780f1cf49497 sub/subreader.c --- 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);