aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-02-14 17:20:03 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2022-05-04 18:17:58 +0200
commit3d350ec7281cd0d357231fc2c99f44ebe425d586 (patch)
tree296d47ffc4da5dfd1b606b17bfd2357bf2fe0ff0
parent7a75295917b759abaac796a98c2aa611fc67f974 (diff)
downloadffmpeg-3d350ec7281cd0d357231fc2c99f44ebe425d586.tar.gz
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@niedermayer.cc>
-rw-r--r--libavcodec/pngenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c
index edc9011a9b..488ee5d177 100644
--- a/libavcodec/pngenc.c
+++ b/libavcodec/pngenc.c
@@ -1119,7 +1119,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,
};