From 4a26b4c024498c9b1be4723121d86e0c2b386ed2 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Mon, 20 Dec 2010 06:42:04 +0200 Subject: cosmetics: remove unused code, small formatting tweaks --- mplayer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mplayer.c') diff --git a/mplayer.c b/mplayer.c index 15b515638b..8056146c2b 100644 --- a/mplayer.c +++ b/mplayer.c @@ -2211,8 +2211,7 @@ static int fill_audio_out_buffers(struct MPContext *mpctx) memmove(sh_audio->a_out_buffer, &sh_audio->a_out_buffer[playsize], sh_audio->a_out_buffer_len); mpctx->delay += opts->playback_speed*playsize/(double)ao_data.bps; - } - else if (audio_eof && mpctx->audio_out->get_delay() < .04) { + } else if (audio_eof && mpctx->audio_out->get_delay() < .04) { // Sanity check to avoid hanging in case current ao doesn't output // partial chunks and doesn't check for AOPLAY_FINAL_CHUNK mp_msg(MSGT_CPLAYER, MSGL_WARN, "Audio output truncated at end.\n"); -- cgit v1.2.3