mirror of https://github.com/mpv-player/mpv
Deallocate audio track codecdata.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25642 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d2a07a1270
commit
0039652a08
|
@ -271,6 +271,7 @@ void free_sh_audio(demuxer_t *demuxer, int id) {
|
||||||
demuxer->a_streams[id] = NULL;
|
demuxer->a_streams[id] = NULL;
|
||||||
mp_msg(MSGT_DEMUXER,MSGL_DBG2,"DEMUXER: freeing sh_audio at %p\n",sh);
|
mp_msg(MSGT_DEMUXER,MSGL_DBG2,"DEMUXER: freeing sh_audio at %p\n",sh);
|
||||||
if(sh->wf) free(sh->wf);
|
if(sh->wf) free(sh->wf);
|
||||||
|
if(sh->codecdata) free(sh->codecdata);
|
||||||
free(sh);
|
free(sh);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue