changeset 5459:779ef929e227

audio codec uninit
author arpi
date Mon, 01 Apr 2002 17:59:16 +0000
parents b3d1348b251f
children acf7acfa7acc
files mplayer.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;