Mercurial > mplayer.hg
changeset 29937:d654021c9652
Add braces to avoid ambiguous else.
author | reimar |
---|---|
date | Mon, 07 Dec 2009 23:11:40 +0000 |
parents | f43f03c00402 |
children | eb6c70e2cbea |
files | mplayer.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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