Showing the changes to codec/decoder/core/src/au_parser.cpp (1 of 57 files). Show all
Unified · Split
| @@ -603,7 +603,7 @@ int32_t ParseNonVclNal (PWelsDecoderContext pCtx, uint8_t* pRbsp, const int32_t · 602 unmodified lines | ||
| 603 | 603 | } |
| 604 | 604 | } |
| 605 | 605 | iErr = ParseSps (pCtx, pBs, &iPicWidth, &iPicHeight, pSrcNal, kSrcNalLen); |
| 606 | − if (ERR_NONE != iErr) { // modified for pSps/pSubsetSps invalid, 12/1/2009 | |
| 606 | + if (ERR_NONE != iErr) { // modified for pSps/pSubsetSps invalid, 12/1/2009 | |
| 607 | 607 | if (pCtx->eErrorConMethod == ERROR_CON_DISABLE) |
| 608 | 608 | pCtx->iErrorCode |= dsNoParamSets; |
| 609 | 609 | else |
| @@ -625,7 +625,7 @@ int32_t ParseNonVclNal (PWelsDecoderContext pCtx, uint8_t* pRbsp, const int32_t · 15 unmodified lines | ||
| 625 | 625 | } |
| 626 | 626 | } |
| 627 | 627 | iErr = ParsePps (pCtx, &pCtx->sPpsBuffer[0], pBs, pSrcNal, kSrcNalLen); |
| 628 | − if (ERR_NONE != iErr) { // modified for pps invalid, 12/1/2009 | |
| 628 | + if (ERR_NONE != iErr) { // modified for pps invalid, 12/1/2009 | |
| 629 | 629 | if (pCtx->eErrorConMethod == ERROR_CON_DISABLE) |
| 630 | 630 | pCtx->iErrorCode |= dsNoParamSets; |
| 631 | 631 | else |
| @@ -934,7 +934,7 @@ int32_t ParseSps (PWelsDecoderContext pCtx, PBitStringAux pBsAux, int32_t* pPicW · 302 unmodified lines | ||
| 934 | 934 | WELS_READ_VERIFY (BsGetBits (pBs, 8, &uiCode)); // level_idc |
| 935 | 935 | uiLevelIdc = uiCode; |
| 936 | 936 | WELS_READ_VERIFY (BsGetUe (pBs, &uiCode)); //seq_parameter_set_id |
| 937 | − if (uiCode >= MAX_SPS_COUNT) { // Modified to check invalid negative iSpsId, 12/1/2009 | |
| 937 | + if (uiCode >= MAX_SPS_COUNT) { // Modified to check invalid negative iSpsId, 12/1/2009 | |
| 938 | 938 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, " iSpsId is out of range! \n"); |
| 939 | 939 | return GENERATE_ERROR_NO (ERR_LEVEL_PARAM_SETS, ERR_INFO_SPS_ID_OVERFLOW); |
| 940 | 940 | } |
| @@ -1451,7 +1451,7 @@ int32_t ParsePps (PWelsDecoderContext pCtx, PPps pPpsList, PBitStringAux pBsAux, · 510 unmodified lines | ||
| 1451 | 1451 | * \note Call it in case eNalUnitType is NAL_UNIT_SEI. |
| 1452 | 1452 | ************************************************************************************* |
| 1453 | 1453 | */ |
| 1454 | −int32_t ParseSei (void* pSei, PBitStringAux pBsAux) { // reserved Sei_Msg type | |
| 1454 | +int32_t ParseSei (void* pSei, PBitStringAux pBsAux) { // reserved Sei_Msg type | |
| 1455 | 1455 | |
| 1456 | 1456 | |
| 1457 | 1457 | return ERR_NONE; |
| @@ -1470,7 +1470,7 @@ int32_t ParseSei (void* pSei, PBitStringAux pBsAux) { // reserved Sei_Msg type · 12 unmodified lines | ||
| 1470 | 1470 | ************************************************************************************* |
| 1471 | 1471 | */ |
| 1472 | 1472 | int32_t SetScalingListValue (uint8_t* pScalingList, int iScalingListNum, bool* bUseDefaultScalingMatrixFlag, |
| 1473 | − PBitStringAux pBsAux) { // reserved Sei_Msg type | |
| 1473 | + PBitStringAux pBsAux) { // reserved Sei_Msg type | |
| 1474 | 1474 | int iLastScale = 8; |
| 1475 | 1475 | int iNextScale = 8; |
| 1476 | 1476 | int iDeltaScale; |