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
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ int reinit_video_chain(struct MPContext *mpctx)
} }
#if HAVE_ENCODING #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); encode_lavc_set_video_fps(mpctx->encode_lavc_ctx, d_video->fps);
#endif #endif