summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-12-20 06:42:04 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-12-20 06:42:04 +0200
commit4a26b4c024498c9b1be4723121d86e0c2b386ed2 (patch)
tree77e56568f6aa7e5dbfbae2bce0634c0452f3795c /mplayer.c
parent835d3deea2023bd53a079513f6b742b575ae1896 (diff)
downloadmpv-4a26b4c024498c9b1be4723121d86e0c2b386ed2.tar.bz2
mpv-4a26b4c024498c9b1be4723121d86e0c2b386ed2.tar.xz
cosmetics: remove unused code, small formatting tweaks
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c3
1 files changed, 1 insertions, 2 deletions
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");