summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-12-05 23:53:48 +0100
committerwm4 <wm4@nowhere>2015-12-05 23:53:48 +0100
commitc46106d63359ff663d71910e64398035146a8f46 (patch)
tree4bad9839003b77d2b0f88f0c7e5a4971f84e1dd8 /player
parent63204eda5debc43851fedcaec8450284349d6995 (diff)
downloadmpv-c46106d63359ff663d71910e64398035146a8f46.tar.bz2
mpv-c46106d63359ff663d71910e64398035146a8f46.tar.xz
player: remove redundant check
Found by Coverity.
Diffstat (limited to 'player')
-rw-r--r--player/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/video.c b/player/video.c
index 5f0809791a..9be4f6a9a0 100644
--- a/player/video.c
+++ b/player/video.c
@@ -289,7 +289,7 @@ int reinit_video_chain(struct MPContext *mpctx)
}
#if HAVE_ENCODING
- if (mpctx->encode_lavc_ctx && d_video)
+ if (mpctx->encode_lavc_ctx)
encode_lavc_set_video_fps(mpctx->encode_lavc_ctx, d_video->fps);
#endif