From 59cb0bd23d61f6ea3bfd86558346e2720aba7f06 Mon Sep 17 00:00:00 2001 From: Timo Rothenpieler Date: Tue, 27 Sep 2022 19:35:37 +0200 Subject: [PATCH] avfilter/vf_extractplanes: add missing break; statement --- libavfilter/vf_extractplanes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_extractplanes.c b/libavfilter/vf_extractplanes.c index 3c794eaa28..08737d6415 100644 --- a/libavfilter/vf_extractplanes.c +++ b/libavfilter/vf_extractplanes.c @@ -284,6 +284,7 @@ static void extract_from_packed(uint8_t *dst, int dst_linesize, dst[x * 2 ] = src[x * step + comp * 2 ]; dst[x * 2 + 1] = src[x * step + comp * 2 + 1]; } + break; case 4: for (x = 0; x < width; x++) { dst[x * 4 ] = src[x * step + comp * 4 ];