Showing the changes to codec/decoder/plus/src/welsDecoderExt.cpp (1 of 8 files). Show all
Unified · Split
| @@ -393,7 +393,7 @@ DECODING_STATE CWelsDecoder::DecodeFrame2 (const unsigned char* kpSrc, · 392 unmodified lines | |||
| 393 | pDstInfo); //iErrorCode has been modified in this function | 393 | pDstInfo); //iErrorCode has been modified in this function |
| 394 | m_pDecContext->bInstantDecFlag = false; //reset no-delay flag | 394 | m_pDecContext->bInstantDecFlag = false; //reset no-delay flag |
| 395 | if (m_pDecContext->iErrorCode) { | 395 | if (m_pDecContext->iErrorCode) { |
| 396 | ENalUnitType eNalType = | 396 | EWelsNalUnitType eNalType = |
| 397 | NAL_UNIT_UNSPEC_0; //for NBR, IDR frames are expected to decode as followed if error decoding an IDR currently | 397 | NAL_UNIT_UNSPEC_0; //for NBR, IDR frames are expected to decode as followed if error decoding an IDR currently |
| 398 | 398 | ||
| 399 | eNalType = m_pDecContext->sCurNalHead.eNalUnitType; | 399 | eNalType = m_pDecContext->sCurNalHead.eNalUnitType; |