summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-24 20:00:13 +0200
committerJan Ekström <jeebjp@gmail.com>2018-05-31 01:24:51 +0300
commitcb52cfae1aa7e29de08c69780a773548f708f972 (patch)
tree13a6237b04affca0b78c4779e1baa31e27dabb98
parent31bce1cbe78b3d61e44ea9c5a6a17c1fe1723063 (diff)
downloadmpv-cb52cfae1aa7e29de08c69780a773548f708f972.tar.bz2
mpv-cb52cfae1aa7e29de08c69780a773548f708f972.tar.xz
player: fix coding style
I'm also not sure whether this condition doesn't subtly break a lot of things.
-rw-r--r--player/playloop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/player/playloop.c b/player/playloop.c
index f5c1fde0ef..92b2569b8b 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -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;
}