Mercurial > mplayer.hg
changeset 36649:780f1cf49497
subreader: Fix compilation without fribidi.
author | reimar |
---|---|
date | Sun, 26 Jan 2014 16:20:48 +0000 |
parents | 1506e7359613 |
children | 8b2c68d6fd89 |
files | sub/subreader.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
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);