Skip to content

Commit

Permalink
avfilter/vf_extractplanes: add missing break; statement
Browse files Browse the repository at this point in the history
  • Loading branch information
BtbN committed Sep 27, 2022
1 parent f5cd00b commit 59cb0bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libavfilter/vf_extractplanes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down

0 comments on commit 59cb0bd

Please sign in to comment.