History

Implemented a generic way to prevent the queued decoded B-frame buffers from being overwritten.

xiaotiansf committed 7 years ago

Commit c2b00041 parent 4b8913f4 files · +10 −16Browse files

Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 4 files). Show all

Unified · Split

codec/decoder/core/src/decoder_core.cpp+0−3
@@ -873,8 +873,6 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 872 unmodified lines
873873
874874 pSliceHeadExt = &kpCurNal->sNalData.sVclNal.sSliceHeaderExt;
875875
876− pSliceHead->bIsRefPic = false;
877−
878876 if (pSliceHeadExt) {
879877 SRefBasePicMarking sBaseMarking;
880878 const bool kbStoreRefBaseFlag = pSliceHeadExt->bStoreRefBasePicFlag;
@@ -2475,7 +2473,6 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBuf · 1594 unmodified lines
24752473 dq_cur->pBitStringAux = &pNalCur->sNalData.sVclNal.sSliceBitsRead;
24762474
24772475 uiNalRefIdc = pNalCur->sNalHeaderExt.sNalUnitHeader.uiNalRefIdc;
2478− pSh->bIsRefPic = uiNalRefIdc > 0;
24792476
24802477 iPpsId = pSh->iPpsId;
24812478

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t