0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-19 19:42:24 +02:00

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

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;
}