comparison mplayer.c @ 19337:79b3a37b3b98

Don't crash if audio init fails.
author uau
date Sat, 05 Aug 2006 18:23:10 +0000
parents 6f940283e339
children 4e68a3881201
comparison
equal deleted inserted replaced
19336:714bb551a109 19337:79b3a37b3b98
3729 3729
3730 //================ SETUP AUDIO ========================== 3730 //================ SETUP AUDIO ==========================
3731 3731
3732 if(sh_audio){ 3732 if(sh_audio){
3733 reinit_audio_chain(); 3733 reinit_audio_chain();
3734 if (sh_audio->codec) 3734 if (sh_audio && sh_audio->codec)
3735 mp_msg(MSGT_IDENTIFY,MSGL_INFO, "ID_AUDIO_CODEC=%s\n", sh_audio->codec->name); 3735 mp_msg(MSGT_IDENTIFY,MSGL_INFO, "ID_AUDIO_CODEC=%s\n", sh_audio->codec->name);
3736 } 3736 }
3737 3737
3738 current_module="av_init"; 3738 current_module="av_init";
3739 3739