changeset 25702:c4275201a489

Add a forgotten #ifdef USE_ASS around ass_free_track
author reimar
date Sun, 13 Jan 2008 13:37:19 +0000
parents d3943c815424
children 986e8d8c1ae7
files libmpdemux/demuxer.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demuxer.c	Sun Jan 13 13:25:07 2008 +0000
+++ b/libmpdemux/demuxer.c	Sun Jan 13 13:37:19 2008 +0000
@@ -244,7 +244,9 @@
 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);
 }