diff --git a/src/piex_types.h b/src/piex_types.h index 6b294bd..f7c4d3e 100644 --- a/src/piex_types.h +++ b/src/piex_types.h @@ -19,6 +19,7 @@ #include #include +#include namespace piex { @@ -81,7 +82,7 @@ struct PreviewImageData { // Hint for the mosaic pattern dimension of the RAW image data. (0, 0) implies // that no mosaic info found. It is valid for DNG, NEF and NRW files. - std::uint32_t cfa_pattern_dim[2] = {0, 0}; + std::vector cfa_pattern_dim = std::vector(2, 0); }; // Defines the StreamInterface that needs to be implemented by the client.