[FFmpeg-cvslog] avcodec/pngenc: remove monowhite from apng formats

Paul B Mahol git at videolan.org
Wed May 4 21:29:40 EEST 2022


ffmpeg | branch: release/3.4 | Paul B Mahol <onemda at gmail.com> | Sun Feb 14 17:20:03 2021 +0100| [e1b399c818bef82a5f9dcc02b0945b58274bd805] | committer: Michael Niedermayer

avcodec/pngenc: remove monowhite from apng formats

Monowhite pixel format is not supported, and it does not make sense
to add support for it.

Fixes #7989

(cherry picked from commit 5d9f44da460f781a1604d537d0555b78e29438ba)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e1b399c818bef82a5f9dcc02b0945b58274bd805
---

 libavcodec/pngenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c
index 69b4495404..dfc8eb58e6 100644
--- a/libavcodec/pngenc.c
+++ b/libavcodec/pngenc.c
@@ -1174,7 +1174,7 @@ AVCodec ff_apng_encoder = {
         AV_PIX_FMT_PAL8,
         AV_PIX_FMT_GRAY8, AV_PIX_FMT_GRAY8A,
         AV_PIX_FMT_GRAY16BE, AV_PIX_FMT_YA16BE,
-        AV_PIX_FMT_MONOBLACK, AV_PIX_FMT_NONE
+        AV_PIX_FMT_NONE
     },
     .priv_class     = &apngenc_class,
 };



More information about the ffmpeg-cvslog mailing list