add UT for incomplete frame for parse only
Showing the changes to codec/decoder/plus/src/welsDecoderExt.cpp (1 of 2 files). Show all
Unified · Split
| @@ -584,6 +584,7 @@ DECODING_STATE CWelsDecoder::DecodeParser (const unsigned char* kpSrc, · 583 unmodified lines | ||
| 584 | 584 | m_pDecContext->uiTimeStamp = 0; |
| 585 | 585 | } |
| 586 | 586 | WelsDecodeBs (m_pDecContext, kpSrc, kiSrcLen, NULL, NULL, pDstInfo); |
| 587 | + m_pDecContext->bInstantDecFlag = false; //reset no-delay flag | |
| 587 | 588 | |
| 588 | 589 | return (DECODING_STATE) m_pDecContext->iErrorCode; |
| 589 | 590 | } |