Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 1 | From: Paul B Mahol <onemda@gmail.com> |
| 2 | Date: Sun, 14 Feb 2021 17:20:03 +0100 |
| 3 | Subject: avcodec/pngenc: remove monowhite from apng formats |
| 4 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 5 | Upstream-Status: Inappropriate |
| 6 | |
| 7 | RPI-Distro repo clones original ffmpeg and applies patches to enable |
| 8 | raspiberry pi support. |
| 9 | |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 10 | Monowhite pixel format is not supported, and it does not make sense |
| 11 | to add support for it. |
| 12 | |
| 13 | Fixes #7989 |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 14 | --- |
| 15 | libavcodec/pngenc.c | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | |
| 18 | diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c |
| 19 | index 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 | }; |