From cef82a7a938acdd708d71c92238eae50c52dc55a Mon Sep 17 00:00:00 2001 From: Dale Phurrough Date: Mon, 21 Feb 2022 15:02:37 +0100 Subject: [PATCH] init dai::RawImgFrame::Specs::type = NONE (#86) - coord work for fix luxonis/depthai-core#282 --- include/depthai-shared/datatype/RawImgFrame.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/depthai-shared/datatype/RawImgFrame.hpp b/include/depthai-shared/datatype/RawImgFrame.hpp index 09aa6855..e1ab2e1a 100644 --- a/include/depthai-shared/datatype/RawImgFrame.hpp +++ b/include/depthai-shared/datatype/RawImgFrame.hpp @@ -152,7 +152,7 @@ struct RawImgFrame : public RawBuffer { } struct Specs { - Type type; + Type type = Type::NONE; unsigned int width; // width in pixels unsigned int height; // height in pixels unsigned int stride; // defined as distance in bytes from pix(y,x) to pix(y+1,x)