summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-02-15 20:28:36 +0100
committerwm4 <wm4@nowhere>2016-02-15 20:28:36 +0100
commitf219a48dca7dbd525c1611b1d579947a3dd9b82b (patch)
tree439243a300ac0e162f4b8ccf063f53f343c5bdee /player/video.c
parent8aeaa34a5c9206392a23b1017a47df2c968c43fe (diff)
downloadmpv-f219a48dca7dbd525c1611b1d579947a3dd9b82b.tar.bz2
mpv-f219a48dca7dbd525c1611b1d579947a3dd9b82b.tar.xz
video: remove pointless parameter indirection
This is always the same value.
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;