diff --git a/media_softlet/agnostic/common/codec/hal/enc/shared/statusreport/encode_status_report.cpp b/media_softlet/agnostic/common/codec/hal/enc/shared/statusreport/encode_status_report.cpp index fe0677e13e..850dc73f51 100644 --- a/media_softlet/agnostic/common/codec/hal/enc/shared/statusreport/encode_status_report.cpp +++ b/media_softlet/agnostic/common/codec/hal/enc/shared/statusreport/encode_status_report.cpp @@ -356,7 +356,7 @@ namespace encode { statusReportData->pFrmStatsInfo = ((EncodeStatusReportData *)report)->pFrmStatsInfo; statusReportData->pBlkStatsInfo = ((EncodeStatusReportData *)report)->pBlkStatsInfo; - if (((EncodeStatusReportData *)report)->pBlkQualityInfo) + if (!statusReportData->pBlkQualityInfo) { statusReportData->pBlkQualityInfo = ((EncodeStatusReportData *)report)->pBlkQualityInfo; }