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 | |
| 5 | Monowhite pixel format is not supported, and it does not make sense |
| 6 | to add support for it. |
| 7 | |
| 8 | Fixes #7989 |
| 9 | |
| 10 | Upstream-status: Pending |
| 11 | |
| 12 | --- |
| 13 | libavcodec/pngenc.c | 2 +- |
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c |
| 17 | index 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 | }; |