changeset 1049:ce338825e215

libao2 uninit fixed
author arpi_esp
date Thu, 07 Jun 2001 13:22:06 +0000
parents 48cf588e2c90
children 87eb4325baf6
files mplayer.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Thu Jun 07 13:06:30 2001 +0000
+++ b/mplayer.c	Thu Jun 07 13:22:06 2001 +0000
@@ -320,8 +320,8 @@
   #endif
      getch2_disable();
   video_out->uninit();
-  audio_out->reset();
-  audio_out->uninit();
+//  audio_out->reset();
+  if(audio_out) audio_out->uninit();
   if(encode_name) avi_fixate();
 #ifdef HAVE_LIRC
   #ifdef HAVE_GUI