[MPlayer-cvslog] r31305 - trunk/mplayer.c

cehoyos subversion at mplayerhq.hu
Wed Jun 2 22:21:30 CEST 2010


Author: cehoyos
Date: Wed Jun  2 22:21:29 2010
New Revision: 31305

Log:
Fix compilation with external libass.

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Wed Jun  2 22:12:50 2010	(r31304)
+++ trunk/mplayer.c	Wed Jun  2 22:21:29 2010	(r31305)
@@ -2581,7 +2581,7 @@ static int seek(MPContext *mpctx, double
 	vobsub_seek(vo_vobsub, mpctx->sh_video->pts);
     }
 
-#ifdef CONFIG_ASS
+#if defined(CONFIG_ASS_INTERNAL) || defined(LIBASS_VERSION) && LIBASS_VERSION > 0x00909000
     if (ass_enabled && mpctx->d_sub->sh && ((sh_sub_t *)mpctx->d_sub->sh)->ass_track)
         ass_flush_events(((sh_sub_t *)mpctx->d_sub->sh)->ass_track);
 #endif


More information about the MPlayer-cvslog mailing list