summaryrefslogtreecommitdiffstats
path: root/mpcommon.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpcommon.c')
-rw-r--r--mpcommon.c2
1 files changed, 1 insertions, 1 deletions
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? */