[MPlayer-cvslog] r29838 - trunk/mplayer.c
reimar
subversion at mplayerhq.hu
Fri Nov 6 17:04:39 CET 2009
Author: reimar
Date: Fri Nov 6 17:04:39 2009
New Revision: 29838
Log:
Remove some unnecessary else blocks
Modified:
trunk/mplayer.c
Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c Fri Nov 6 16:59:42 2009 (r29837)
+++ trunk/mplayer.c Fri Nov 6 17:04:39 2009 (r29838)
@@ -1614,7 +1614,7 @@ void reinit_audio_chain(void) {
mpctx->sh_audio=mpctx->d_audio->sh=NULL; // failed to init :(
mpctx->d_audio->id = -2;
return;
- } else
+ }
initialized_flags|=INITIALIZED_ACODEC;
mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n");
@@ -1644,7 +1644,7 @@ void reinit_audio_chain(void) {
// FAILED:
mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_CannotInitAO);
goto init_error;
- } else {
+ }
// SUCCESS:
initialized_flags|=INITIALIZED_AO;
mp_msg(MSGT_CPLAYER,MSGL_INFO,"AO: [%s] %dHz %dch %s (%d bytes per sample)\n",
@@ -1664,7 +1664,6 @@ void reinit_audio_chain(void) {
goto init_error;
}
#endif
- }
mpctx->mixer.audio_out = mpctx->audio_out;
mpctx->mixer.volstep = volstep;
return;
More information about the MPlayer-cvslog
mailing list