[FFmpeg-cvslog] avfilter/vf_colorspace_cuda: mark fall-through

Timo Rothenpieler git at videolan.org
Thu Sep 15 20:36:05 EEST 2022


ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Thu Sep 15 19:35:30 2022 +0200| [c9bd6ee5cb33c6462d6e74b9e39c159e1143ff65] | committer: Timo Rothenpieler

avfilter/vf_colorspace_cuda: mark fall-through

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c9bd6ee5cb33c6462d6e74b9e39c159e1143ff65
---

 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;



More information about the ffmpeg-cvslog mailing list