This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit bf47563bd8205c912d650c857e1fe812dab48812 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Sun Jun 7 09:24:31 2026 +0200 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Sun Jun 7 17:53:44 2026 +0200 avcodec/liboapvenc: Remove always-false checks Already checked in encode_preinit_video(). Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/liboapvenc.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libavcodec/liboapvenc.c b/libavcodec/liboapvenc.c index d39dd57d24..c4051844f8 100644 --- a/libavcodec/liboapvenc.c +++ b/libavcodec/liboapvenc.c @@ -287,11 +287,8 @@ static int get_conf(AVCodecContext *avctx, oapve_cdesc_t *cdsc) } /* read options from AVCodecContext */ - if (avctx->width > 0) - cdsc->param[FRM_IDX].w = avctx->width; - - if (avctx->height > 0) - cdsc->param[FRM_IDX].h = avctx->height; + cdsc->param[FRM_IDX].w = avctx->width; + cdsc->param[FRM_IDX].h = avctx->height; if (avctx->framerate.num > 0) { cdsc->param[FRM_IDX].fps_num = avctx->framerate.num; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
