diff --git a/codec/decoder/core/src/decoder.cpp b/codec/decoder/core/src/decoder.cpp index f296e9211..7037e10d4 100644 --- a/codec/decoder/core/src/decoder.cpp +++ b/codec/decoder/core/src/decoder.cpp @@ -797,14 +797,13 @@ int32_t WelsDecodeBs (PWelsDecoderContext pCtx, const uint8_t* kpBsBuf, const in bNalStartBytes = true; } else if (pSrcNal[2 + iSrcIdx] == 0x03) { if ((3 + iSrcConsumed < iSrcLength) && pSrcNal[3 + iSrcIdx] > 0x03) { - pCtx->iErrorCode |= dsBitstreamError; - return pCtx->iErrorCode; + /* Just skip */ } else { ST16 (pDstNal + iDstIdx, 0); iDstIdx += 2; - iSrcIdx += 3; - iSrcConsumed += 3; } + iSrcIdx += 3; + iSrcConsumed += 3; } else { // 0x01 bNalStartBytes = false;