diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-12-20 06:42:04 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-12-20 06:42:04 +0200 |
commit | 4a26b4c024498c9b1be4723121d86e0c2b386ed2 (patch) | |
tree | 77e56568f6aa7e5dbfbae2bce0634c0452f3795c /mplayer.c | |
parent | 835d3deea2023bd53a079513f6b742b575ae1896 (diff) | |
download | mpv-4a26b4c024498c9b1be4723121d86e0c2b386ed2.tar.bz2 mpv-4a26b4c024498c9b1be4723121d86e0c2b386ed2.tar.xz |
cosmetics: remove unused code, small formatting tweaks
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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"); |