audio: simplify condition

The expression added with the previous commit (0cce8fe6) looked slightly
more complicated than it has to be. The code is equivalent.
This commit is contained in:
wm4 2014-07-31 21:11:49 +02:00
parent 0cce8fe64f
commit 4cf3f3ca2c
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ void fill_audio_out_buffers(struct MPContext *mpctx, double endpts)
// If audio is infinitely fast, somehow try keeping approximate A/V sync.
if (mpctx->audio_status == STATUS_PLAYING && ao_untimed(mpctx->ao) &&
!(mpctx->video_status == STATUS_EOF || mpctx->delay <= 0))
mpctx->video_status != STATUS_EOF && mpctx->delay > 0)
return;
// if paused, just initialize things (audio format & pts)