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 3a7d6b1e20..f713a86f41 100644
--- a/player/video.c
+++ b/player/video.c
@@ -337,7 +337,7 @@ int init_video_decoder(struct MPContext *mpctx, struct track *track)
MP_INFO(mpctx, "Use --no-correct-pts to force FPS based timing.\n");
}
- if (!video_init_best_codec(d_video, d_video->opts->video_decoders))
+ if (!video_init_best_codec(d_video))
goto err_out;
return 1;