diff mbox series

[FFmpeg-devel] avfilter/vf_premultiply: add missing AV_PIX_FMT_YUVA444P12

Message ID 20200914025501.43485-1-mindmark@gmail.com
State Accepted
Commit 60e7021064ea9e99854c585d452e89f38635480e
Headers show
Series [FFmpeg-devel] avfilter/vf_premultiply: add missing AV_PIX_FMT_YUVA444P12
Related show

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Mark Reid Sept. 14, 2020, 2:55 a.m. UTC
From: Mark Reid <mindmark@gmail.com>

query_formats says its supported, but is missing from switch statement leading to segfault

---
 libavfilter/vf_premultiply.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Paul B Mahol Sept. 14, 2020, 8:19 a.m. UTC | #1
On Sun, Sep 13, 2020 at 07:55:01PM -0700, mindmark@gmail.com wrote:
> From: Mark Reid <mindmark@gmail.com>
> 
> query_formats says its supported, but is missing from switch statement leading to segfault
> 
> ---
>  libavfilter/vf_premultiply.c | 2 ++
>  1 file changed, 2 insertions(+)
> 

gonna apply.
diff mbox series

Patch

diff --git a/libavfilter/vf_premultiply.c b/libavfilter/vf_premultiply.c
index 7e5b2aa97f..e051cadac0 100644
--- a/libavfilter/vf_premultiply.c
+++ b/libavfilter/vf_premultiply.c
@@ -546,6 +546,7 @@  static int filter_frame(AVFilterContext *ctx,
             case AV_PIX_FMT_YUV444P10:
             case AV_PIX_FMT_YUVA444P10:
             case AV_PIX_FMT_YUV444P12:
+            case AV_PIX_FMT_YUVA444P12:
             case AV_PIX_FMT_YUV444P14:
             case AV_PIX_FMT_YUV444P16:
             case AV_PIX_FMT_YUVA444P16:
@@ -597,6 +598,7 @@  static int filter_frame(AVFilterContext *ctx,
             case AV_PIX_FMT_YUV444P10:
             case AV_PIX_FMT_YUVA444P10:
             case AV_PIX_FMT_YUV444P12:
+            case AV_PIX_FMT_YUVA444P12:
             case AV_PIX_FMT_YUV444P14:
             case AV_PIX_FMT_YUV444P16:
             case AV_PIX_FMT_YUVA444P16: