Skip to content

Commit

Permalink
Fix broken decode result in multi-thread decoding. (#3782)
Browse files Browse the repository at this point in the history
  • Loading branch information
tyan0 authored Oct 8, 2024
1 parent 3668daf commit 8109455
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion codec/decoder/core/src/decoder_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2706,7 +2706,6 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf

if (iCurrIdD == kuiDependencyIdMax && iCurrIdQ == BASE_QUALITY_ID && isNewFrame) {
iRet = InitRefPicList (pCtx, pCtx->uiNalRefIdc, pSh->iPicOrderCntLsb);
if (iThreadCount > 1) isNewFrame = false;
if (iRet) {
pCtx->bRPLRError = true;
bAllRefComplete = false; // RPLR error, set ref pictures complete flag false
Expand Down

0 comments on commit 8109455

Please sign in to comment.