summaryrefslogtreecommitdiff
path: root/v4l2.c
diff options
context:
space:
mode:
Diffstat (limited to 'v4l2.c')
-rw-r--r--v4l2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/v4l2.c b/v4l2.c
index a0036fd..f97a054 100644
--- a/v4l2.c
+++ b/v4l2.c
@@ -177,6 +177,7 @@ v4l2_enum_frame_sizes(struct v4l2_device *dev, struct v4l2_format_desc *format)
case V4L2_FRMSIZE_TYPE_STEPWISE:
frame->step_width = frmenum.stepwise.step_width;
frame->step_height = frmenum.stepwise.step_height;
+ /* fallthrough */
case V4L2_FRMSIZE_TYPE_CONTINUOUS:
frame->min_width = frmenum.stepwise.min_width;
frame->min_height = frmenum.stepwise.min_height;