From 6e6692a4ff4a49c80b75f12fa30f9f36940b3f76 Mon Sep 17 00:00:00 2001 From: aurel Date: Thu, 4 Sep 2008 23:36:17 +0000 Subject: a valid ASS line contains 9 ',' before actual text git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27526 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mpcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpcommon.c') diff --git a/mpcommon.c b/mpcommon.c index 79af866cab..bf78b50fe8 100644 --- a/mpcommon.c +++ b/mpcommon.c @@ -145,7 +145,7 @@ void update_subtitles(sh_video_t *sh_video, demux_stream_t *d_dvdsub, int reset) if (type == 'a') { // ssa/ass subs without libass => convert to plaintext int i; unsigned char* p = packet; - for (i=0; i < 8 && *p != '\0'; p++) + for (i=0; i < 9 && *p != '\0'; p++) if (*p == ',') i++; if (*p == '\0') /* Broken line? */ -- cgit v1.2.3