3 Sep
2006
3 Sep
'06
1:36 p.m.
Author: eugeni Date: Sun Sep 3 19:36:29 2006 New Revision: 19657 Modified: trunk/libass/ass_render.c Log: Fix last commit. Modified: trunk/libass/ass_render.c ============================================================================== --- trunk/libass/ass_render.c (original) +++ trunk/libass/ass_render.c Sun Sep 3 19:36:29 2006 @@ -1514,7 +1514,7 @@ int alignment, halign, valign; int device_x = 0, device_y = 0; - if (!event->Style) { + if (event->Style >= frame_context.track->n_styles) { mp_msg(MSGT_GLOBAL, MSGL_WARN, "No style found!\n"); return 1; }