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

cehoyos subversion at mplayerhq.hu
Thu Jun 3 10:17:52 CEST 2010


Author: cehoyos
Date: Thu Jun  3 10:17:51 2010
New Revision: 31309

Log:
Simplify libass version check.

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Thu Jun  3 10:17:10 2010	(r31308)
+++ trunk/mplayer.c	Thu Jun  3 10:17:51 2010	(r31309)
@@ -2581,7 +2581,7 @@ static int seek(MPContext *mpctx, double
 	vobsub_seek(vo_vobsub, mpctx->sh_video->pts);
     }
 
-#if defined(CONFIG_ASS_INTERNAL) || defined(LIBASS_VERSION) && LIBASS_VERSION > 0x00909000
+#if defined(LIBASS_VERSION) && LIBASS_VERSION >= 0x00910000
     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