[Mplayer-cvslog] CVS: main subreader.c,1.7,1.8
Megyer Laszlo
laaz at users.sourceforge.net
Tue May 1 23:28:20 CEST 2001
Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv20333
Modified Files:
subreader.c
Log Message:
Fixed segfault (microdvd format, many lines)
Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** subreader.c 2001/04/24 21:52:10 1.7
--- subreader.c 2001/05/01 21:28:18 1.8
***************
*** 114,118 ****
if (current->text[i]==ERR) {return ERR;}
i++;
! if (i>SUB_MAX_TEXT) { printf ("Too many lines in a subtitle\n");current->lines=i;return;}
}
current->lines=i+1;
--- 114,118 ----
if (current->text[i]==ERR) {return ERR;}
i++;
! if (i>=SUB_MAX_TEXT) { printf ("Too many lines in a subtitle\n");current->lines=i;return;}
}
current->lines=i+1;
_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
More information about the MPlayer-cvslog
mailing list