libhwc2.1: initialize img's metadata
Change-Id: I3b55dbbfe7f143da303809de44c00fe1966ebd7d
Signed-off-by: Sungjun Bae <june.bae@samsung.com>
diff --git a/libhwc2.1/libhwchelper/ExynosHWCHelper.h b/libhwc2.1/libhwchelper/ExynosHWCHelper.h
index 49be86b..b4114dd 100644
--- a/libhwc2.1/libhwchelper/ExynosHWCHelper.h
+++ b/libhwc2.1/libhwchelper/ExynosHWCHelper.h
@@ -284,7 +284,7 @@
* frameworks/native/include/media/hardware/HardwareAPI.h */
ExynosHdrStaticInfo hdrStaticInfo;
ExynosHdrDynamicInfo hdrDynamicInfo;
- ExynosVideoInfoType metaType;
+ ExynosVideoInfoType metaType = VIDEO_INFO_TYPE_INVALID;
bool needDegamma = false;
} exynos_image_t;