aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-02-14 17:20:03 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2022-09-26 16:50:39 +0200
commit50cadf8dc52e94372a181dd60a527c55d1d155f5 (patch)
treefd311c697fbf2e9dceec4b1d0991a444b80281f0 /libavcodec
parent073df4767e3be460a71b6fdaeb20c42a58848bff (diff)
downloadffmpeg-50cadf8dc52e94372a181dd60a527c55d1d155f5.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: James Almer <jamrial@gmail.com> (cherry picked from commit e06e89f6275c62316da489c567fce3d2ef6f594a) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/pngenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c
index efcae8c494..eebb164440 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,
};