aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2022-09-15 19:35:30 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2022-09-15 19:35:30 +0200
commitc9bd6ee5cb33c6462d6e74b9e39c159e1143ff65 (patch)
tree5395f815737695d8a534bb63e70f6d8b9b975bd0
parenta90e5335b3bf1f21b738b5bdf33de1b4fedf202d (diff)
downloadffmpeg-c9bd6ee5cb33c6462d6e74b9e39c159e1143ff65.tar.gz
avfilter/vf_colorspace_cuda: mark fall-through
-rw-r--r--libavfilter/vf_colorspace_cuda.c1
1 files changed, 1 insertions, 0 deletions
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;