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:
parent
63204eda5d
commit
c46106d633
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user