Showing the changes to codec/decoder (1 of 1 file). Show all
Unified · Split
| @@ -1224,7 +1224,7 @@ void CWelsDecoder::ReleaseBufferedReadyPicture (PWelsDecoderContext pCtx, unsign · 1223 unmodified lines | |||
| 1224 | DECODING_STATE CWelsDecoder::ReorderPicturesInDisplay (PWelsDecoderContext pDecContext, unsigned char** ppDst, | 1224 | DECODING_STATE CWelsDecoder::ReorderPicturesInDisplay (PWelsDecoderContext pDecContext, unsigned char** ppDst, |
| 1225 | SBufferInfo* pDstInfo) { | 1225 | SBufferInfo* pDstInfo) { |
| 1226 | DECODING_STATE iRet = dsErrorFree; | 1226 | DECODING_STATE iRet = dsErrorFree; |
| 1227 | if (pDstInfo->iBufferStatus == 1) { | 1227 | if ((pDstInfo->iBufferStatus == 1) && (pDecContext->pPps->bEntropyCodingModeFlag)) { |
| 1228 | m_bIsBaseline = pDecContext->pSps->uiProfileIdc == 66 || pDecContext->pSps->uiProfileIdc == 83; | 1228 | m_bIsBaseline = pDecContext->pSps->uiProfileIdc == 66 || pDecContext->pSps->uiProfileIdc == 83; |
| 1229 | if (!m_bIsBaseline) { | 1229 | if (!m_bIsBaseline) { |
| 1230 | BufferingReadyPicture (pDecContext, ppDst, pDstInfo); | 1230 | BufferingReadyPicture (pDecContext, ppDst, pDstInfo); |