mirror of https://github.com/mpv-player/mpv
Remove some unnecessary else blocks
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29838 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f4926132f8
commit
9edfe2046e
|
@ -1614,7 +1614,7 @@ void reinit_audio_chain(void) {
|
||||||
mpctx->sh_audio=mpctx->d_audio->sh=NULL; // failed to init :(
|
mpctx->sh_audio=mpctx->d_audio->sh=NULL; // failed to init :(
|
||||||
mpctx->d_audio->id = -2;
|
mpctx->d_audio->id = -2;
|
||||||
return;
|
return;
|
||||||
} else
|
}
|
||||||
initialized_flags|=INITIALIZED_ACODEC;
|
initialized_flags|=INITIALIZED_ACODEC;
|
||||||
mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n");
|
mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n");
|
||||||
|
|
||||||
|
@ -1644,7 +1644,7 @@ void reinit_audio_chain(void) {
|
||||||
// FAILED:
|
// FAILED:
|
||||||
mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_CannotInitAO);
|
mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_CannotInitAO);
|
||||||
goto init_error;
|
goto init_error;
|
||||||
} else {
|
}
|
||||||
// SUCCESS:
|
// SUCCESS:
|
||||||
initialized_flags|=INITIALIZED_AO;
|
initialized_flags|=INITIALIZED_AO;
|
||||||
mp_msg(MSGT_CPLAYER,MSGL_INFO,"AO: [%s] %dHz %dch %s (%d bytes per sample)\n",
|
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;
|
goto init_error;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
|
||||||
mpctx->mixer.audio_out = mpctx->audio_out;
|
mpctx->mixer.audio_out = mpctx->audio_out;
|
||||||
mpctx->mixer.volstep = volstep;
|
mpctx->mixer.volstep = volstep;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue