[MPlayer-cvslog] r27526 - trunk/mpcommon.c
aurel
subversion at mplayerhq.hu
Fri Sep 5 01:36:17 CEST 2008
Author: aurel
Date: Fri Sep 5 01:36:17 2008
New Revision: 27526
Log:
a valid ASS line contains 9 ',' before actual text
Modified:
trunk/mpcommon.c
Modified: trunk/mpcommon.c
==============================================================================
--- trunk/mpcommon.c (original)
+++ trunk/mpcommon.c Fri Sep 5 01:36:17 2008
@@ -145,7 +145,7 @@ void update_subtitles(sh_video_t *sh_vid
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? */
More information about the MPlayer-cvslog
mailing list