if (tc_tdm_output_is_hwc_enable(output)) {
pp_formats = (tbm_format *)calloc(1, sizeof(tbm_format) * 2);
+ TDM_UT_RETURN_FALSE_IF_FAIL(pp_formats != NULL);
pp_formats[0] = TBM_FORMAT_NV12;
pp_formats[1] = TBM_FORMAT_YUV420;
dst_formats = pp_formats;
if (tc_tdm_output_is_hwc_enable(output)) {
pp_formats = (tbm_format *)calloc(1, sizeof(tbm_format) * 2);
+ TDM_UT_RETURN_FALSE_IF_FAIL(pp_formats != NULL);
pp_formats[0] = TBM_FORMAT_ARGB8888;
pp_formats[1] = TBM_FORMAT_XRGB8888;
dst_formats = formats;
Values(TDM_DEFAULT_MODULE));
#endif
-/* LCOV_EXCL_END */
\ No newline at end of file
+/* LCOV_EXCL_END */