1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-18 13:47:04 +00:00

player: remove redundant check

Found by Coverity.
This commit is contained in:
wm4 2015-12-05 23:53:48 +01:00
parent 63204eda5d
commit c46106d633

View File

@ -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