Showing the changes to codec/decoder/plus/src/welsDecoderExt.cpp (1 of 1 file). Show all
Unified · Split
| @@ -690,7 +690,8 @@ DECODING_STATE CWelsDecoder::FlushFrame (unsigned char** ppDst, · 689 unmodified lines | |||
| 690 | ppDst[1] = m_sPictInfoList[m_iPictInfoIndex].pData[1]; | 690 | ppDst[1] = m_sPictInfoList[m_iPictInfoIndex].pData[1]; |
| 691 | ppDst[2] = m_sPictInfoList[m_iPictInfoIndex].pData[2]; | 691 | ppDst[2] = m_sPictInfoList[m_iPictInfoIndex].pData[2]; |
| 692 | m_sPictInfoList[m_iPictInfoIndex].iPOC = sIMinInt32; | 692 | m_sPictInfoList[m_iPictInfoIndex].iPOC = sIMinInt32; |
| 693 | m_pDecContext->pPicBuff->ppPic[m_sPictInfoList[m_iPictInfoIndex].iPicBuffIdx]->bAvailableFlag = true; | 693 | if (m_sPictInfoList[m_iPictInfoIndex].iPicBuffIdx < m_pDecContext->pPicBuff->iCapacity) |
| 694 | m_pDecContext->pPicBuff->ppPic[m_sPictInfoList[m_iPictInfoIndex].iPicBuffIdx]->bAvailableFlag = true; | ||
| 694 | m_sPictInfoList[m_iPictInfoIndex].bLastGOP = false; | 695 | m_sPictInfoList[m_iPictInfoIndex].bLastGOP = false; |
| 695 | m_iMinPOC = sIMinInt32; | 696 | m_iMinPOC = sIMinInt32; |
| 696 | --m_iNumOfPicts; | 697 | --m_iNumOfPicts; |