changeset 25614:cc740dcda27c

Deallocate audio track codecdata.
author eugeni
date Mon, 07 Jan 2008 14:13:50 +0000
parents f00333e3facf
children ac6b4eb514cf
files libmpdemux/demuxer.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demuxer.c	Mon Jan 07 14:02:06 2008 +0000
+++ b/libmpdemux/demuxer.c	Mon Jan 07 14:13:50 2008 +0000
@@ -271,6 +271,7 @@
     demuxer->a_streams[id] = NULL;
     mp_msg(MSGT_DEMUXER,MSGL_DBG2,"DEMUXER: freeing sh_audio at %p\n",sh);
     if(sh->wf) free(sh->wf);
+    if(sh->codecdata) free(sh->codecdata);
     free(sh);
 }