diff options
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demuxer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/demuxer.c b/libmpdemux/demuxer.c index 48119f97ba..9a643911df 100644 --- a/libmpdemux/demuxer.c +++ b/libmpdemux/demuxer.c @@ -244,7 +244,9 @@ sh_sub_t *new_sh_sub_sid(demuxer_t *demuxer, int id, int sid) { void free_sh_sub(sh_sub_t *sh) { mp_msg(MSGT_DEMUXER, MSGL_DBG2, "DEMUXER: freeing sh_sub at %p\n", sh); if (sh->extradata) free(sh->extradata); +#ifdef USE_ASS if (sh->ass_track) ass_free_track(sh->ass_track); +#endif free(sh); } |