Skip to content

Commit

Permalink
[Encode] Fix unchecked return issue
Browse files Browse the repository at this point in the history
Fix coverity unchecked return issue
  • Loading branch information
Bossonor authored and intel-mediadev committed Dec 18, 2023
1 parent a7349e5 commit f47b26f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,8 @@ MOS_STATUS CodechalVdencAvcStateXe_Hpm::SetMfxPipeBufAddrStateParams(
}

#ifdef _MMC_SUPPORTED
m_mmcState->SetSurfaceState(param.pDecodedReconParam);
m_mmcState->SetSurfaceState(param.pRawSurfParam);
CODECHAL_ENCODE_CHK_STATUS_RETURN(m_mmcState->SetSurfaceState(param.pDecodedReconParam));
CODECHAL_ENCODE_CHK_STATUS_RETURN(m_mmcState->SetSurfaceState(param.pRawSurfParam));
#endif
return MOS_STATUS_SUCCESS;
}
Expand Down

0 comments on commit f47b26f

Please sign in to comment.