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
parent 8527102121
commit 4d6d3a3455
1 changed files with 3 additions and 3 deletions

View File

@ -997,9 +997,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;
}