fixed empty label for goto

This commit is contained in:
Maxim Devaev 2024-03-04 17:19:30 +02:00
parent bbc7ceb110
commit 442790486c

View File

@ -662,6 +662,7 @@ querystd:
_D_LOG_DEBUG("Applied new video standard: %s", _standard_to_string(dev->standard));
subscribe:
; // Empty statement for the goto label above
struct v4l2_event_subscription sub = {.type = V4L2_EVENT_SOURCE_CHANGE};
_D_LOG_DEBUG("Subscribing to V4L2_EVENT_SOURCE_CHANGE ...")
if (us_xioctl(dev->run->fd, VIDIOC_SUBSCRIBE_EVENT, &sub) < 0) {