Showing the changes to codec/decoder/plus/src/welsDecoderExt.cpp (1 of 9 files). Show all
Unified · Split
| @@ -471,7 +471,7 @@ long CWelsDecoder::GetOption (DECODER_OPTION eOptID, void* pOption) { · 470 unmodified lines | ||
| 471 | 471 | * ((int*)pOption) = iVal; |
| 472 | 472 | return cmResultSuccess; |
| 473 | 473 | } else if (DECODER_OPTION_NUM_OF_FRAMES_REMAINING_IN_BUFFER == eOptID) { |
| 474 | − if (m_pDecContext->pSps && m_pDecContext->pSps->uiProfileIdc != 66 && m_pDecContext->pPps->bEntropyCodingModeFlag) { | |
| 474 | + if (m_pDecContext->pSps && m_pDecContext->pSps->uiProfileIdc != 66) { | |
| 475 | 475 | * ((int*)pOption) = m_iNumOfPicts > 0 ? m_iNumOfPicts : 0; |
| 476 | 476 | } else { |
| 477 | 477 | * ((int*)pOption) = 0; |
| @@ -743,8 +743,7 @@ void CWelsDecoder::OutputStatisticsLog (SDecoderStatistics& sDecoderStatistics) · 265 unmodified lines | ||
| 743 | 743 | } |
| 744 | 744 | |
| 745 | 745 | DECODING_STATE CWelsDecoder::ReorderPicturesInDisplay (unsigned char** ppDst, SBufferInfo* pDstInfo) { |
| 746 | − if (pDstInfo->iBufferStatus == 1 && m_pDecContext->pSps->uiProfileIdc != 66 | |
| 747 | − && m_pDecContext->pPps->bEntropyCodingModeFlag) { | |
| 746 | + if (pDstInfo->iBufferStatus == 1 && m_pDecContext->pSps->uiProfileIdc != 66) { | |
| 748 | 747 | if (m_pDecContext->pSliceHeader->iPicOrderCntLsb == 0) { |
| 749 | 748 | if (m_iNumOfPicts > 0) { |
| 750 | 749 | m_iLastGOPRemainPicts = m_iNumOfPicts; |