b/utils/v4l2-compliance/v4l2-test-buffers.cpp
@@ -49,8 +49,8 @@
#define VIVID_CID_QUEUE_ERROR (VIVID_CID_VIVID_BASE + 70)
#define VIVID_CID_REQ_VALIDATE_ERROR (VIVID_CID_VIVID_BASE + 72)
-static struct cv4l_fmt cur_fmt;
-static struct cv4l_fmt cur_m2m_fmt;
+static cv4l_fmt cur_fmt;
+static cv4l_fmt cur_m2m_fmt;
static int stream_from_fd = -1;
static bool stream_use_hdr;
static unsigned max_bytesused[VIDEO_MAX_PLANES];
@@ -357,7 +357,7 @@ int buffer::check(unsigned type, unsigned memory,
unsigned index,
unsigned timestamp_src = g_timestamp_src();
unsigned frame_types = 0;
unsigned buf_states = 0;
- const struct cv4l_fmt &fmt = is_m2m ? cur_m2m_fmt : cur_fmt;
+ const cv4l_fmt &fmt = is_m2m ? cur_m2m_fmt : cur_fmt;
fail_on_test(g_type() != type);
Fix for mismatched class/struct tags. Signed-off-by: Hans Petter Selasky <hps@selasky.org> fail_on_test(g_memory() == 0);