bug fix for parseonly for complete frame judge: reset total_mb if correct.
This commit is contained in:
parent
ac08cc4b2f
commit
e8b68d2460
@ -1801,6 +1801,7 @@ int32_t ConstructAccessUnit (PWelsDecoderContext pCtx, uint8_t** ppDst, SBufferI
|
||||
memcpy (pDstBuf, pNalBs, iNalLen);
|
||||
pDstBuf += iNalLen;
|
||||
}
|
||||
pCtx->iTotalNumMbRec = 0;
|
||||
} else { //error
|
||||
pCtx->pParserBsInfo->uiOutBsTimeStamp = 0;
|
||||
pCtx->pParserBsInfo->iNalNum = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user