History

B Slice bitstream error concealment support. Fix OSS-FUZZ reported erors: 26285,26291,26296,26301,26302,26303,26319,26323,29431 and more

xiaotianshimail committed 5 years ago

Commit 51a138e1 parent be8e62f6 files · +18 −5Browse files

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

Unified · Split

codec/decoder/core/src/decoder.cpp+2−0
@@ -259,6 +259,7 @@ void DestroyPicBuff (PWelsDecoderContext pCtx, PPicBuff* ppPicBuf, CMemoryAlign* · 258 unmodified lines
259259 PPicBuff pPicBuf = NULL;
260260
261261 ResetReorderingPictureBuffers (pCtx->pPictReoderingStatus, pCtx->pPictInfoList, false);
262+ if (pCtx->pDstInfo) pCtx->pDstInfo->iBufferStatus = 0;
262263
263264 if (NULL == ppPicBuf || NULL == *ppPicBuf)
264265 return;
@@ -303,6 +304,7 @@ void ResetReorderingPictureBuffers (PPictReoderingStatus pPictReoderingStatus, P · 38 unmodified lines
303304 pPictInfo[i].bLastGOP = false;
304305 pPictInfo[i].iPOC = IMinInt32;
305306 }
307+ pPictInfo->sBufferInfo.iBufferStatus = 0;
306308 }
307309 }
308310

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