Showing the changes to codec/encoder/core/src/svc_encode_slice.cpp (1 of 8 files). Show all
Unified · Split
| @@ -617,7 +617,7 @@ TRY_REENCODING: · 616 unmodified lines | ||
| 617 | 617 | iNextMbIdx = WelsGetNextMbOfSlice (pCurLayer, iCurMbIdx); |
| 618 | 618 | //whether all of MB in current pSlice encoded or not |
| 619 | 619 | if (iNextMbIdx == -1 || iNextMbIdx >= kiTotalNumMb || iNumMbCoded >= kiTotalNumMb) { |
| 620 | − pSliceCtx->pCountMbNumInSlice[kiSliceIdx] = iCurMbIdx - pCurLayer->pLastCodedMbIdxOfPartition[kiPartitionId]; | |
| 620 | + pSlice->iCountMbNumInSlice = iCurMbIdx - pCurLayer->pLastCodedMbIdxOfPartition[kiPartitionId]; | |
| 621 | 621 | pCurLayer->pLastCodedMbIdxOfPartition[kiPartitionId] = |
| 622 | 622 | iCurMbIdx; // update pLastCodedMbIdxOfPartition, finish coding, use iCurMbIdx directly |
| 623 | 623 | break; |