Skip to content

Commit

Permalink
[Encode] Clean noises in driver log and fix a memory leak
Browse files Browse the repository at this point in the history
Clean noises in driver log and fix a memory leak in release internal driver.
  • Loading branch information
walter-bai authored and intel-mediadev committed Oct 17, 2023
1 parent c411fc7 commit b0c30c4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1558,8 +1558,7 @@ MOS_STATUS HevcVdencPkt::AddAllCmds_HCP_PAK_INSERT_OBJECT_BRC(PMOS_COMMAND_BUFFE
#if USE_CODECHAL_DEBUG_TOOL && _ENCODE_RESERVED
CODECHAL_DEBUG_TOOL(
CodechalDebugInterface *debugInterface = m_pipeline->GetDebugInterface();
ENCODE_CHK_NULL_RETURN(debugInterface);
if (debugInterface->DumpIsEnabled(CodechalDbgAttr::attrDumpEncodePar)) {
if (debugInterface && debugInterface->DumpIsEnabled(CodechalDbgAttr::attrDumpEncodePar)) {
m_hevcParDump->DumpParFile();
})
#endif
Expand Down

0 comments on commit b0c30c4

Please sign in to comment.