Mercurial > mplayer.hg
diff mplayer.c @ 29937:d654021c9652
Add braces to avoid ambiguous else.
author | reimar |
---|---|
date | Mon, 07 Dec 2009 23:11:40 +0000 |
parents | 3991a8fd6a02 |
children | 3a3370c00ba6 |
line wrap: on
line diff
--- a/mplayer.c Mon Dec 07 03:52:55 2009 +0000 +++ b/mplayer.c Mon Dec 07 23:11:40 2009 +0000 @@ -2445,11 +2445,12 @@ mp_cmd_free(cmd); } mpctx->osd_function=OSD_PLAY; - if (mpctx->audio_out && mpctx->sh_audio) + if (mpctx->audio_out && mpctx->sh_audio) { if (mpctx->eof) // do not play remaining audio if we e.g. switch to the next file mpctx->audio_out->reset(); else mpctx->audio_out->resume(); // resume audio + } if (mpctx->video_out && mpctx->sh_video && vo_config_count) mpctx->video_out->control(VOCTRL_RESUME, NULL); // resume video (void)GetRelativeTime(); // ignore time that passed during pause