Showing the changes to codec/decoder/plus/src/welsDecoderExt.cpp (1 of 2 files). Show all
Unified · Split
| @@ -581,12 +581,6 @@ DECODING_STATE CWelsDecoder::DecodeFrame2 (const unsigned char* kpSrc, · 580 unmodified lines | ||
| 581 | 581 | |
| 582 | 582 | eNalType = m_pDecContext->sCurNalHead.eNalUnitType; |
| 583 | 583 | |
| 584 | − if ((m_pDecContext->iErrorCode & dsRefLost) && m_pDecContext->eSliceType == B_SLICE) { | |
| 585 | − if (ResetDecoder()) { | |
| 586 | − return dsRefLost; | |
| 587 | − } | |
| 588 | − return dsErrorFree; | |
| 589 | − } | |
| 590 | 584 | if (m_pDecContext->iErrorCode & dsOutOfMemory) { |
| 591 | 585 | if (ResetDecoder()) { |
| 592 | 586 | return dsOutOfMemory; |