diff options
author | wm4 <wm4@nowhere> | 2015-12-05 23:53:48 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-12-05 23:53:48 +0100 |
commit | c46106d63359ff663d71910e64398035146a8f46 (patch) | |
tree | 4bad9839003b77d2b0f88f0c7e5a4971f84e1dd8 /player/video.c | |
parent | 63204eda5debc43851fedcaec8450284349d6995 (diff) | |
download | mpv-c46106d63359ff663d71910e64398035146a8f46.tar.bz2 mpv-c46106d63359ff663d71910e64398035146a8f46.tar.xz |
player: remove redundant check
Found by Coverity.
Diffstat (limited to 'player/video.c')
-rw-r--r-- | player/video.c | 2 |
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 |