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
259 PPicBuff pPicBuf = NULL;259 PPicBuff pPicBuf = NULL;
260 260
261 ResetReorderingPictureBuffers (pCtx->pPictReoderingStatus, pCtx->pPictInfoList, false);261 ResetReorderingPictureBuffers (pCtx->pPictReoderingStatus, pCtx->pPictInfoList, false);
262 if (pCtx->pDstInfo) pCtx->pDstInfo->iBufferStatus = 0;
262 263
263 if (NULL == ppPicBuf || NULL == *ppPicBuf)264 if (NULL == ppPicBuf || NULL == *ppPicBuf)
264 return;265 return;
@@ -303,6 +304,7 @@ void ResetReorderingPictureBuffers (PPictReoderingStatus pPictReoderingStatus, P · 38 unmodified lines
303 pPictInfo[i].bLastGOP = false;304 pPictInfo[i].bLastGOP = false;
304 pPictInfo[i].iPOC = IMinInt32;305 pPictInfo[i].iPOC = IMinInt32;
305 }306 }
307 pPictInfo->sBufferInfo.iBufferStatus = 0;
306 }308 }
307}309}
308 310

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