]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/pngenc: remove monowhite from apng formats
authorPaul B Mahol <onemda@gmail.com>
Sun, 14 Feb 2021 16:20:03 +0000 (17:20 +0100)
committerPaul B Mahol <onemda@gmail.com>
Sun, 14 Feb 2021 16:23:24 +0000 (17:23 +0100)
Monowhite pixel format is not supported, and it does not make sense
to add support for it.

Fixes #7989

libavcodec/pngenc.c

index efcae8c494ae9416e4e55d69824d8a9c8003847c..eebb1644402a9c334e6e1c76fbdddc8ff147589e 100644 (file)
@@ -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,
 };