This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit c94cb9c04f0a79526ec609213908be7df00d842a
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Thu Apr 16 16:26:59 2026 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Mon Apr 20 12:54:31 2026 +0200

    avcodec/pdvenc: Remove always-false pixel format check
    
    Already checked via CODEC_PIXFMTS.
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/pdvenc.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/libavcodec/pdvenc.c b/libavcodec/pdvenc.c
index fbd7138e6d..80f8599f51 100644
--- a/libavcodec/pdvenc.c
+++ b/libavcodec/pdvenc.c
@@ -47,11 +47,6 @@ static av_cold int encode_init(AVCodecContext *avctx)
     size_t frame_size;
     int ret;
 
-    if (avctx->pix_fmt != AV_PIX_FMT_MONOBLACK) {
-        av_log(avctx, AV_LOG_ERROR, "Only monob pixel format is supported.\n");
-        return AVERROR(EINVAL);
-    }
-
     ret = av_image_check_size(avctx->width, avctx->height, 0, avctx);
     if (ret < 0)
         return ret;

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to