From dd4fda6f5d5411e6fc7bfa47af12badddec3cab5 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Fri, 11 Feb 2022 19:49:40 +0300 Subject: [PATCH] fixed indent --- src/ustreamer/device.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ustreamer/device.c b/src/ustreamer/device.c index 413d3b3..663e57e 100644 --- a/src/ustreamer/device.c +++ b/src/ustreamer/device.c @@ -282,7 +282,7 @@ int device_switch_capturing(device_s *dev, bool enable) { RUN(capturing) = enable; LOG_INFO("Capturing %s", (enable ? "started" : "stopped")); } - return 0; + return 0; } int device_select(device_s *dev, bool *has_read, bool *has_write, bool *has_error) { @@ -906,12 +906,12 @@ static void _device_set_control( } static const char *_format_to_string_nullable(unsigned format) { - for (unsigned index = 0; index < ARRAY_LEN(_FORMATS); ++index) { + for (unsigned index = 0; index < ARRAY_LEN(_FORMATS); ++index) { if (format == _FORMATS[index].format) { return _FORMATS[index].name; } - } - return NULL; + } + return NULL; } static const char *_format_to_string_supported(unsigned format) {