aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Reid <mindmark@gmail.com>2020-09-13 19:55:01 -0700
committerPaul B Mahol <onemda@gmail.com>2020-09-14 10:31:46 +0200
commit60e7021064ea9e99854c585d452e89f38635480e (patch)
tree2bc657bd1dd2f19301981c17f150aebd5e58cbe9
parent119efa275ecbcaca96632b25a10df0b6c6ba42d2 (diff)
downloadffmpeg-60e7021064ea9e99854c585d452e89f38635480e.tar.gz
avfilter/vf_premultiply: add missing AV_PIX_FMT_YUVA444P12
query_formats says its supported, but is missing from switch statement leading to segfault
-rw-r--r--libavfilter/vf_premultiply.c2
1 files changed, 2 insertions, 0 deletions
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: