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