blob: 38f3fd4dab9c0946cd1a97a18e739639f8124c92 [file] [log] [blame]
Andrew Geissler87f5cff2022-09-30 13:13:31 -05001From: Paul B Mahol <onemda@gmail.com>
2Date: Sun, 14 Feb 2021 17:20:03 +0100
3Subject: avcodec/pngenc: remove monowhite from apng formats
4
5Monowhite pixel format is not supported, and it does not make sense
6to add support for it.
7
8Fixes #7989
9
10Upstream-status: Pending
11
12---
13 libavcodec/pngenc.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c
17index efcae8c..eebb164 100644
18--- a/libavcodec/pngenc.c
19+++ b/libavcodec/pngenc.c
20@@ -1174,7 +1174,7 @@ AVCodec ff_apng_encoder = {
21 AV_PIX_FMT_PAL8,
22 AV_PIX_FMT_GRAY8, AV_PIX_FMT_GRAY8A,
23 AV_PIX_FMT_GRAY16BE, AV_PIX_FMT_YA16BE,
24- AV_PIX_FMT_MONOBLACK, AV_PIX_FMT_NONE
25+ AV_PIX_FMT_NONE
26 },
27 .priv_class = &apngenc_class,
28 };