blob: 11e3383aab9c79e57589cce0d96b99f2d7633872 [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
Andrew Geissler517393d2023-01-13 08:55:19 -06005Upstream-Status: Inappropriate
6
7RPI-Distro repo clones original ffmpeg and applies patches to enable
8raspiberry pi support.
9
Andrew Geissler87f5cff2022-09-30 13:13:31 -050010Monowhite pixel format is not supported, and it does not make sense
11to add support for it.
12
13Fixes #7989
Andrew Geissler87f5cff2022-09-30 13:13:31 -050014---
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 };