[MPlayer-cvslog] r19657 - trunk/libass/ass_render.c
eugeni
subversion at mplayerhq.hu
Sun Sep 3 19:36:29 CEST 2006
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;
}
More information about the MPlayer-cvslog
mailing list