bug fix for parseonly for complete frame judge: reset total_mb if correct.

This commit is contained in:
huili2 2015-01-05 23:07:17 -08:00
parent ac08cc4b2f
commit e8b68d2460

View File

@ -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;