[MPlayer-cvslog] r19343 - trunk/mplayer.c

uau subversion at mplayerhq.hu
Sat Aug 5 20:23:10 CEST 2006


Author: uau
Date: Sat Aug  5 20:23:10 2006
New Revision: 19343

Modified:
   trunk/mplayer.c

Log:
Don't crash if audio init fails.


Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Sat Aug  5 20:23:10 2006
@@ -3731,7 +3731,7 @@
 
 if(sh_audio){
   reinit_audio_chain();
-  if (sh_audio->codec)
+  if (sh_audio && sh_audio->codec)
     mp_msg(MSGT_IDENTIFY,MSGL_INFO, "ID_AUDIO_CODEC=%s\n", sh_audio->codec->name);
 }
 



More information about the MPlayer-cvslog mailing list