avfilter/vf_premultiply: add missing AV_PIX_FMT_YUVA444P12

query_formats says its supported, but is missing from switch statement leading to segfault
This commit is contained in:
Mark Reid 2020-09-13 19:55:01 -07:00 committed by Paul B Mahol
parent 119efa275e
commit 60e7021064
1 changed files with 2 additions and 0 deletions

View File

@ -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: