[FFmpeg-devel] [PATCH] lavfi/vf_dnn_processing.c: Fix missing AV_PIX_FMT_GRAY8
Thilo Borgmann
thilo.borgmann at mail.de
Wed Nov 2 17:07:12 EET 2022
From: Cosmin Stejerean <cstejerean at fb.com>
Has been removed by mistake in 2003e32f62d94ba75b59d70632c9f2862b383591, readd it to the switch cases.
Signed-off-by: Thilo Borgmann <thilo.borgmann at mail.de>
---
libavfilter/vf_dnn_processing.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/vf_dnn_processing.c b/libavfilter/vf_dnn_processing.c
index cac096a19f..4462915073 100644
--- a/libavfilter/vf_dnn_processing.c
+++ b/libavfilter/vf_dnn_processing.c
@@ -110,6 +110,7 @@ static int check_modelinput_inlink(const DNNData *model_input, const AVFilterLin
return AVERROR(EIO);
}
return 0;
+ case AV_PIX_FMT_GRAY8:
case AV_PIX_FMT_GRAYF32:
case AV_PIX_FMT_YUV420P:
case AV_PIX_FMT_YUV422P:
--
2.20.1 (Apple Git-117)
More information about the ffmpeg-devel
mailing list