Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 8 files). Show all
Unified · Split
| @@ -568,7 +568,7 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 567 unmodified lines | |||
| 568 | bool bReadNumRefFlag = (P_SLICE == uiSliceType); | 568 | bool bReadNumRefFlag = (P_SLICE == uiSliceType); |
| 569 | if (kbExtensionFlag) { | 569 | if (kbExtensionFlag) { |
| 570 | bReadNumRefFlag &= (BASE_QUALITY_ID == pNalHeaderExt->uiQualityId); | 570 | bReadNumRefFlag &= (BASE_QUALITY_ID == pNalHeaderExt->uiQualityId); |
| 571 | } | 571 | } |
| 572 | if (bReadNumRefFlag) { | 572 | if (bReadNumRefFlag) { |
| 573 | WELS_READ_VERIFY (BsGetOneBit (pBs, &uiCode)); //num_ref_idx_active_override_flag | 573 | WELS_READ_VERIFY (BsGetOneBit (pBs, &uiCode)); //num_ref_idx_active_override_flag |
| 574 | pSliceHead->bNumRefIdxActiveOverrideFlag = !!uiCode; | 574 | pSliceHead->bNumRefIdxActiveOverrideFlag = !!uiCode; |