changeset 27494:89971b14c335

a valid ASS line contains 9 ',' before actual text
author aurel
date Thu, 04 Sep 2008 23:36:17 +0000
parents a126c38cb1c7
children fe28a794c04f
files mpcommon.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpcommon.c	Thu Sep 04 23:34:27 2008 +0000
+++ b/mpcommon.c	Thu Sep 04 23:36:17 2008 +0000
@@ -145,7 +145,7 @@
                 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? */