]> granicus.if.org Git - libass/commitdiff
Fix fallback event formats
authorGrigori Goronzy <greg@blackbox>
Wed, 9 Jan 2013 22:30:19 +0000 (23:30 +0100)
committerGrigori Goronzy <greg@blackbox>
Wed, 9 Jan 2013 22:30:19 +0000 (23:30 +0100)
Fixes issue 83.

libass/ass.c

index defc515e681c7ec85c6a7e6f3470575ee0cb46ff..6e0f21ca2a9b2205a719d6a5df5c1846d1318bd6 100644 (file)
@@ -587,10 +587,10 @@ static void event_format_fallback(ASS_Track *track)
 {
     track->parser_priv->state = PST_EVENTS;
     if (track->track_type == TRACK_TYPE_SSA)
-        track->event_format = strdup("Format: Marked, Start, End, Style, "
+        track->event_format = strdup("Marked, Start, End, Style, "
             "Name, MarginL, MarginR, MarginV, Effect, Text");
     else
-        track->event_format = strdup("Format: Layer, Start, End, Style, "
+        track->event_format = strdup("Layer, Start, End, Style, "
             "Actor, MarginL, MarginR, MarginV, Effect, Text");
     ass_msg(track->library, MSGL_V,
             "No event format found, using fallback");