From 9c8d2b2d1884fad691c3376d380cbb7e49d69aee Mon Sep 17 00:00:00 2001 From: gfxVPLsdm Date: Tue, 28 Nov 2023 23:59:40 +0800 Subject: [PATCH] Fix for incorrect iterator in BRC_EncToolBase::ReportGopHints() (#6128) Co-authored-by: Sergey Plotnikov --- _studio/enctools/src/mfx_enctools_brc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_studio/enctools/src/mfx_enctools_brc.cpp b/_studio/enctools/src/mfx_enctools_brc.cpp index a81062dcd6..d9444f9692 100644 --- a/_studio/enctools/src/mfx_enctools_brc.cpp +++ b/_studio/enctools/src/mfx_enctools_brc.cpp @@ -2205,7 +2205,7 @@ mfxStatus BRC_EncToolBase::ReportGopHints(mfxU32 dispOrder, mfxEncToolsHintPreEn frStruct.qpDelta = pGopHints.QPDelta; frStruct.qpModulation = pGopHints.QPModulation; frStruct.QPDeltaExplicitModulation = pGopHints.QPDeltaExplicitModulation; - (*frameStruct).miniGopSize = pGopHints.MiniGopSize; + frStruct.miniGopSize = pGopHints.MiniGopSize; m_FrameStruct.push_back(frStruct); frameStruct = m_FrameStruct.end() - 1; }