# HG changeset patch # User arpi # Date 1017683956 0 # Node ID 779ef929e227fbaa59eee6853358dd4aab5e21ba # Parent b3d1348b251f05ca5843a2421594199aaee9059d audio codec uninit diff -r b3d1348b251f -r 779ef929e227 mplayer.c --- a/mplayer.c Mon Apr 01 17:58:04 2002 +0000 +++ b/mplayer.c Mon Apr 01 17:59:16 2002 +0000 @@ -2790,10 +2790,14 @@ #endif ){ + current_module="uninit_acodec"; + if(sh_audio) uninit_video(sh_audio); + sh_audio=NULL; + current_module="uninit_vcodec"; if(sh_video) uninit_video(sh_video); sh_video=NULL; - + current_module="free_demuxer"; if(demuxer) free_demuxer(demuxer); demuxer=NULL;