missed some part fix clip value update according to wayne's suggestion
Showing the changes to codec/decoder/core/src/au_parser.cpp (1 of 6 files). Show all
Unified · Split
| @@ -1342,10 +1342,10 @@ int32_t ParsePps (PWelsDecoderContext pCtx, PPps pPpsList, PBitStringAux pBsAux, · 1341 unmodified lines | ||
| 1342 | 1342 | pPps->bWeightedPredFlag = !!uiCode; |
| 1343 | 1343 | WELS_READ_VERIFY (BsGetBits (pBsAux, 2, &uiCode)); //weighted_bipred_idc |
| 1344 | 1344 | pPps->uiWeightedBipredIdc = uiCode; |
| 1345 | − if (pPps->bWeightedPredFlag || pPps->uiWeightedBipredIdc != 0) { | |
| 1345 | + if (pPps->uiWeightedBipredIdc != 0) { | |
| 1346 | 1346 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, |
| 1347 | − "ParsePps(): weighted_pred_flag (%d) weighted_bipred_idc (%d) neither supported.\n", | |
| 1348 | − pPps->bWeightedPredFlag, pPps->uiWeightedBipredIdc); | |
| 1347 | + "ParsePps(): weighted_bipred_idc (%d) not supported.\n", | |
| 1348 | + pPps->uiWeightedBipredIdc); | |
| 1349 | 1349 | return GENERATE_ERROR_NO (ERR_LEVEL_PARAM_SETS, ERR_INFO_UNSUPPORTED_WP); |
| 1350 | 1350 | } |
| 1351 | 1351 | |