summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-03 08:17:51 +0000
committercehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-03 08:17:51 +0000
commitde6a0324d8eb70b70968d4129d4aee8e536dd68f (patch)
treea04f5f6587c2412d7985e04503486895b15ace32 /mplayer.c
parent67a5bb95eee9598a8bfdc2e93163251e4f5fb625 (diff)
downloadmpv-de6a0324d8eb70b70968d4129d4aee8e536dd68f.tar.bz2
mpv-de6a0324d8eb70b70968d4129d4aee8e536dd68f.tar.xz
Simplify libass version check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31309 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 10c4dc3aad..a0a4c19f20 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);
}
-#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