Mercurial > mplayer.hg
changeset 31243:ceeed64abf5a
Simplify libass version check.
author | cehoyos |
---|---|
date | Thu, 03 Jun 2010 08:17:51 +0000 |
parents | 1f4cf4c05e83 |
children | 952d773404f5 |
files | mplayer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Thu Jun 03 08:17:10 2010 +0000 +++ b/mplayer.c Thu Jun 03 08:17:51 2010 +0000 @@ -2581,7 +2581,7 @@ 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