summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/video.c')
-rw-r--r--player/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/video.c b/player/video.c
index 12a566cd12..3a7d6b1e20 100644
--- a/player/video.c
+++ b/player/video.c
@@ -366,7 +366,7 @@ int reinit_video_chain_src(struct MPContext *mpctx, struct lavfi_pad *src)
track = mpctx->current_track[0][STREAM_VIDEO];
if (!track)
return 0;
- sh = track ? track->stream : NULL;
+ sh = track->stream;
if (!sh)
goto no_video;
}