Showing the changes to codec/encoder/core/src/slice_multi_threading.cpp (1 of 8 files). Show all
Unified · Split
| @@ -548,7 +548,7 @@ int32_t AppendSliceToFrameBs (sWelsEncCtx* pCtx, SLayerBSInfo* pLbi, const int32 · 547 unmodified lines | ||
| 548 | 548 | iLayerSize += pSliceBs->uiBsPos; |
| 549 | 549 | |
| 550 | 550 | while (iNalIdx < iCountNal) { |
| 551 | − pLbi->iNalLengthInByte[iNalIdxBase + iNalIdx] = pSliceBs->iNalLen[iNalIdx]; | |
| 551 | + pLbi->pNalLengthInByte[iNalIdxBase + iNalIdx] = pSliceBs->iNalLen[iNalIdx]; | |
| 552 | 552 | ++ iNalIdx; |
| 553 | 553 | } |
| 554 | 554 | pLbi->iNalCount += iCountNal; |
| @@ -580,7 +580,7 @@ int32_t AppendSliceToFrameBs (sWelsEncCtx* pCtx, SLayerBSInfo* pLbi, const int32 · 25 unmodified lines | ||
| 580 | 580 | iLayerSize += pSliceBs->uiBsPos; |
| 581 | 581 | |
| 582 | 582 | while (iNalIdx < iCountNal) { |
| 583 | − pLbi->iNalLengthInByte[iNalIdxBase + iNalIdx] = pSliceBs->iNalLen[iNalIdx]; | |
| 583 | + pLbi->pNalLengthInByte[iNalIdxBase + iNalIdx] = pSliceBs->iNalLen[iNalIdx]; | |
| 584 | 584 | ++ iNalIdx; |
| 585 | 585 | } |
| 586 | 586 | pLbi->iNalCount += iCountNal; |
| @@ -621,7 +621,7 @@ int32_t WriteSliceToFrameBs (sWelsEncCtx* pCtx, SLayerBSInfo* pLbi, uint8_t* pFr · 34 unmodified lines | ||
| 621 | 621 | WELS_VERIFY_RETURN_IFNEQ (iReturn, ENC_RETURN_SUCCESS) |
| 622 | 622 | iSliceSize += iNalSize; |
| 623 | 623 | pDst += iNalSize; |
| 624 | − pLbi->iNalLengthInByte[iNalBase + iNalIdx] = iNalSize; | |
| 624 | + pLbi->pNalLengthInByte[iNalBase + iNalIdx] = iNalSize; | |
| 625 | 625 | |
| 626 | 626 | ++ iNalIdx; |
| 627 | 627 | } |