This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit bb49197ede88e7b31b690ad3e6c5320c63e2abe4 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Sun Jun 7 09:34:31 2026 +0200 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Sun Jun 7 17:53:44 2026 +0200 avcodec/liboapvenc: Remove dimension change check If this were to be checked, it should be checked generically, not in every single encoder. Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/liboapvenc.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libavcodec/liboapvenc.c b/libavcodec/liboapvenc.c index b09c5d1077..92640b74a3 100644 --- a/libavcodec/liboapvenc.c +++ b/libavcodec/liboapvenc.c @@ -451,11 +451,6 @@ static int liboapve_encode(AVCodecContext *avctx, AVPacket *avpkt, oapv_imgb_t *imgb = frm->imgb; int ret; - if (avctx->width != frame->width || avctx->height != frame->height || avctx->pix_fmt != frame->format) { - av_log(avctx, AV_LOG_ERROR, "Dimension changes are not supported\n"); - return AVERROR(EINVAL); - } - av_image_copy2((uint8_t **)imgb->a, imgb->s, frame->data, frame->linesize, frame->format, frame->width, frame->height); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
