Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1740,8 +1740,6 @@ int32_t DecodeCurrentAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, int3 · 1739 unmodified lines | |||
| 1740 | InitCurDqLayerData (pCtx, pCtx->pCurDqLayer); | 1740 | InitCurDqLayerData (pCtx, pCtx->pCurDqLayer); |
| 1741 | 1741 | ||
| 1742 | pNalCur = pCurAu->pNalUnitsList[iIdx]; | 1742 | pNalCur = pCurAu->pNalUnitsList[iIdx]; |
| 1743 | if (pNalCur == NULL) | ||
| 1744 | return ERR_NONE; | ||
| 1745 | while (iIdx <= iEndIdx) { | 1743 | while (iIdx <= iEndIdx) { |
| 1746 | PDqLayer dq_cur = pCtx->pCurDqLayer; | 1744 | PDqLayer dq_cur = pCtx->pCurDqLayer; |
| 1747 | SLayerInfo pLayerInfo; | 1745 | SLayerInfo pLayerInfo; |