From c9bd6ee5cb33c6462d6e74b9e39c159e1143ff65 Mon Sep 17 00:00:00 2001 From: Timo Rothenpieler <timo@rothenpieler.org> Date: Thu, 15 Sep 2022 19:35:30 +0200 Subject: [PATCH] avfilter/vf_colorspace_cuda: mark fall-through --- libavfilter/vf_colorspace_cuda.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_colorspace_cuda.c b/libavfilter/vf_colorspace_cuda.c index 131c4ad72b..07d4edd0d8 100644 --- a/libavfilter/vf_colorspace_cuda.c +++ b/libavfilter/vf_colorspace_cuda.c @@ -281,6 +281,7 @@ static int conv_cuda_convert(AVFilterContext* ctx, AVFrame* out, AVFrame* in) break; case AV_PIX_FMT_YUV420P: width = comp_id ? in->width / 2 : in->width; + /* fall-through */ case AV_PIX_FMT_NV12: height = comp_id ? in->height / 2 : in->height; break;