History

Merge remote-tracking branch 'upstream/master'

Sigrid Solveig Haflínudóttir committed 5 years ago

Commit 3eb2a132 parents a313955 c435fb914 files · +2356 −2337Browse files

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

Unified · Split

codec/decoder/core/src/decoder.cpp+2−0
@@ -255,6 +255,7 @@ void DestroyPicBuff (PWelsDecoderContext pCtx, PPicBuff* ppPicBuf, CMemoryAlign* · 254 unmodified lines
255255 PPicBuff pPicBuf;
256256
257257 ResetReorderingPictureBuffers (pCtx->pPictReoderingStatus, pCtx->pPictInfoList, false);
258+ if (pCtx->pDstInfo) pCtx->pDstInfo->iBufferStatus = 0;
258259
259260 if (NULL == ppPicBuf || NULL == *ppPicBuf)
260261 return;
@@ -297,6 +298,7 @@ void ResetReorderingPictureBuffers (PPictReoderingStatus pPictReoderingStatus, P · 36 unmodified lines
297298 pPictInfo[i].bLastGOP = false;
298299 pPictInfo[i].iPOC = IMinInt32;
299300 }
301+ pPictInfo->sBufferInfo.iBufferStatus = 0;
300302 }
301303 }
302304

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