Skip to content

Commit 8109455

Browse files
authored
Fix broken decode result in multi-thread decoding. (#3782)
1 parent 3668daf commit 8109455

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

codec/decoder/core/src/decoder_core.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -2706,7 +2706,6 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf
27062706

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

0 commit comments

Comments
 (0)