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 | pSliceHeadExt = &kpCurNal->sNalData.sVclNal.sSliceHeaderExt; | 874 | pSliceHeadExt = &kpCurNal->sNalData.sVclNal.sSliceHeaderExt; |
| 875 | 875 | ||
| 876 | pSliceHead->bIsRefPic = false; | ||
| 877 | |||
| 878 | if (pSliceHeadExt) { | 876 | if (pSliceHeadExt) { |
| 879 | SRefBasePicMarking sBaseMarking; | 877 | SRefBasePicMarking sBaseMarking; |
| 880 | const bool kbStoreRefBaseFlag = pSliceHeadExt->bStoreRefBasePicFlag; | 878 | const bool kbStoreRefBaseFlag = pSliceHeadExt->bStoreRefBasePicFlag; |
| @@ -2475,7 +2473,6 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 1594 unmodified lines | |||
| 2475 | dq_cur->pBitStringAux = &pNalCur->sNalData.sVclNal.sSliceBitsRead; | 2473 | dq_cur->pBitStringAux = &pNalCur->sNalData.sVclNal.sSliceBitsRead; |
| 2476 | 2474 | ||
| 2477 | uiNalRefIdc = pNalCur->sNalHeaderExt.sNalUnitHeader.uiNalRefIdc; | 2475 | uiNalRefIdc = pNalCur->sNalHeaderExt.sNalUnitHeader.uiNalRefIdc; |
| 2478 | pSh->bIsRefPic = uiNalRefIdc > 0; | ||
| 2479 | 2476 | ||
| 2480 | iPpsId = pSh->iPpsId; | 2477 | iPpsId = pSh->iPpsId; |
| 2481 | 2478 | ||