style(cpp): separate multiple variable declarations (#4795)

This commit is contained in:
David Lane authored and GitHub committed 2026-03-01 09:02:17 -05:00
1 parent 2b7af2119d
commit 188f1e2959
19 files changed
+134 -65

No files matched your search

+8 -4
View File
@@ -398,7 +398,8 @@ namespace va {
egl::sws_t sws;
egl::nv12_t nv12;
int width, height;
int height;
int width;
};
class va_ram_t: public va_t {
@@ -455,7 +456,8 @@ namespace va {
std::uint64_t sequence;
egl::rgb_t rgb;
int offset_x, offset_y;
int offset_x;
int offset_y;
};
/**
@@ -531,7 +533,8 @@ namespace va {
vaSetErrorCallback(display.get(), __log, &error);
vaSetErrorCallback(display.get(), __log, &info);
int major, minor;
int major;
int minor;
auto status = vaInitialize(display.get(), &major, &minor);
if (status) {
BOOST_LOG(error) << "Couldn't initialize va display: "sv << vaErrorStr(status);
@@ -595,7 +598,8 @@ namespace va {
return false;
}
int major, minor;
int major;
int minor;
auto status = vaInitialize(display.get(), &major, &minor);
if (status) {
BOOST_LOG(error) << "Couldn't initialize va display: "sv << vaErrorStr(status);