changeset 31697:8d65df40de82

Put sub_ass_read_line_subviewer under CONFIG_ASS to avoid a warning.
author reimar
date Wed, 21 Jul 2010 18:48:13 +0000
parents 275c509b9c33
children f1d69b608148
files subreader.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/subreader.c	Wed Jul 21 18:10:29 2010 +0000
+++ b/subreader.c	Wed Jul 21 18:48:13 2010 +0000
@@ -373,6 +373,7 @@
     return current;
 }
 
+#ifdef CONFIG_ASS
 static subtitle *sub_ass_read_line_subviewer(stream_t *st, subtitle *current, int utf16)
 {
     int h1, m1, s1, ms1, h2, m2, s2, ms2, j = 0;
@@ -428,6 +429,7 @@
     }
     return current;
 }
+#endif
 
 static subtitle *sub_read_line_subviewer(stream_t *st,subtitle *current, int utf16) {
     char line[LINE_LEN+1];