aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mplayer/files/patch-sub__subreader.c
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mplayer/files/patch-sub__subreader.c')
-rw-r--r--multimedia/mplayer/files/patch-sub__subreader.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/mplayer/files/patch-sub__subreader.c b/multimedia/mplayer/files/patch-sub__subreader.c
new file mode 100644
index 000000000000..eb8b15d1662f
--- /dev/null
+++ b/multimedia/mplayer/files/patch-sub__subreader.c
@@ -0,0 +1,13 @@
+--- sub/subreader.c.orig 2011-07-22 23:08:52.000000000 -0400
++++ sub/subreader.c 2011-07-22 23:26:15.000000000 -0400
+@@ -2509,8 +2509,10 @@
+ strip_markup = 1;
+ #endif
+ if (!strip_markup) {
++#ifdef CONFIG_ASS
+ subassconvert_subrip(txt, buf, MAX_SUBLINE + 1);
+ sub->text[sub->lines] = buf;
++#endif
+ } else {
+ for (i = 0; i < len && pos < MAX_SUBLINE; i++) {
+ char c = txt[i];