* sub.c
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
- * $Id: sub.c,v 1.9 2003/03/16 16:07:21 fenrir Exp $
+ * $Id: sub.c,v 1.10 2003/03/16 23:35:39 fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
}
break;
}
- else if( !strcmp( s,
- "Dialogue: Marked" ) )
+ else if( strstr( s, "This is a Sub Station Alpha v4 script" ) )
+ {
+ i_sub_type = SUB_TYPE_SSA2_4; // I hop this will work
+ }
+ else if( !strncmp( s, "Dialogue: Marked", 16 ) )
{
i_sub_type = SUB_TYPE_SSA2_4; // could be wrong
break;