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

reimar subversion at mplayerhq.hu
Fri Jun 4 20:46:22 CEST 2010


Author: reimar
Date: Fri Jun  4 20:46:22 2010
New Revision: 31317

Log:
Do not use libass functions if it is disabled.
Fixes compilation if freetype is not available.

Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Fri Jun  4 19:11:56 2010	(r31316)
+++ trunk/mplayer.c	Fri Jun  4 20:46:22 2010	(r31317)
@@ -2587,7 +2587,7 @@ static int seek(MPContext *mpctx, double
 	vobsub_seek(vo_vobsub, mpctx->sh_video->pts);
     }
 
-#if defined(LIBASS_VERSION) && LIBASS_VERSION >= 0x00910000
+#if defined(CONFIG_ASS) && 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