mirror of
https://github.com/mpv-player/mpv
synced 2025-01-20 22:40:52 +00:00
Add a forgotten #ifdef USE_ASS around ass_free_track
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25730 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1ecb0fc00b
commit
b58f5adbfd
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user