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 ];