Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 4 files). Show all
Unified · Split
| @@ -873,8 +873,6 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 872 unmodified lines | ||
| 873 | 873 | |
| 874 | 874 | pSliceHeadExt = &kpCurNal->sNalData.sVclNal.sSliceHeaderExt; |
| 875 | 875 | |
| 876 | − pSliceHead->bIsRefPic = false; | |
| 877 | − | |
| 878 | 876 | if (pSliceHeadExt) { |
| 879 | 877 | SRefBasePicMarking sBaseMarking; |
| 880 | 878 | const bool kbStoreRefBaseFlag = pSliceHeadExt->bStoreRefBasePicFlag; |
| @@ -2475,7 +2473,6 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 1594 unmodified lines | ||
| 2475 | 2473 | dq_cur->pBitStringAux = &pNalCur->sNalData.sVclNal.sSliceBitsRead; |
| 2476 | 2474 | |
| 2477 | 2475 | uiNalRefIdc = pNalCur->sNalHeaderExt.sNalUnitHeader.uiNalRefIdc; |
| 2478 | − pSh->bIsRefPic = uiNalRefIdc > 0; | |
| 2479 | 2476 | |
| 2480 | 2477 | iPpsId = pSh->iPpsId; |
| 2481 | 2478 | |