player: fix coding style

I'm also not sure whether this condition doesn't subtly break a lot of
things.
This commit is contained in:
wm4 2018-05-24 20:00:13 +02:00 committed by Jan Ekström
parent 31bce1cbe7
commit cb52cfae1a
1 changed files with 3 additions and 3 deletions

View File

@ -989,9 +989,9 @@ static void handle_playback_restart(struct MPContext *mpctx)
struct MPOpts *opts = mpctx->opts;
// Do not wait for video stream if it only has sparse frames.
if (mpctx->vo_chain &&
mpctx->vo_chain->is_sparse &&
mpctx->video_status < STATUS_READY) {
if (mpctx->vo_chain && mpctx->vo_chain->is_sparse &&
mpctx->video_status < STATUS_READY)
{
mpctx->video_status = STATUS_READY;
}