summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-02 20:21:29 +0000
committercehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-02 20:21:29 +0000
commit0cded5de1c2ec43a3f6538c2c3e38c277d049ca5 (patch)
tree2cea9235a369e7b30f1ac584c7b0baba47e9c5d3 /mplayer.c
parent1c906775a05152340bcfb49a827ddf5612c5c1d3 (diff)
downloadmpv-0cded5de1c2ec43a3f6538c2c3e38c277d049ca5.tar.bz2
mpv-0cded5de1c2ec43a3f6538c2c3e38c277d049ca5.tar.xz
Fix compilation with external libass.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31305 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 1c56ba3c19..10c4dc3aad 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2581,7 +2581,7 @@ static int seek(MPContext *mpctx, double amount, int style)
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