[MPlayer-cvslog] r21253 - trunk/sub_cc.c
reimar
subversion at mplayerhq.hu
Sat Nov 25 23:18:40 CET 2006
Author: reimar
Date: Sat Nov 25 23:18:40 2006
New Revision: 21253
Modified:
trunk/sub_cc.c
Log:
Sanity-check number of lines in CC subtitle
Modified: trunk/sub_cc.c
==============================================================================
--- trunk/sub_cc.c (original)
+++ trunk/sub_cc.c Sat Nov 25 23:18:40 2006
@@ -89,7 +89,7 @@
if(c=='\n')
{
- if(cursor_pos>0)
+ if(cursor_pos>0 && bb->lines < SUB_MAX_TEXT)
bb->lines++;cursor_pos=0;
}
else
More information about the MPlayer-cvslog
mailing list