audio codec uninit

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5460 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-04-01 17:59:16 +00:00
parent aff40c7823
commit a6a5b81c2f
1 changed files with 5 additions and 1 deletions

View File

@ -2790,10 +2790,14 @@ if(use_gui || playtree_iter != NULL
#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;