Showing the changes to codec/decoder/core/src/au_parser.cpp (1 of 2 files). Show all
Unified · Split
| @@ -1377,12 +1377,7 @@ int32_t ParsePps (PWelsDecoderContext pCtx, PPps pPpsList, PBitStringAux pBsAux, · 1376 unmodified lines | ||
| 1377 | 1377 | pPps->bWeightedPredFlag = !!uiCode; |
| 1378 | 1378 | WELS_READ_VERIFY (BsGetBits (pBsAux, 2, &uiCode)); //weighted_bipred_idc |
| 1379 | 1379 | pPps->uiWeightedBipredIdc = uiCode; |
| 1380 | − if (pPps->uiWeightedBipredIdc != 0) { | |
| 1381 | − WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, | |
| 1382 | − "ParsePps(): weighted_bipred_idc (%d) not supported.\n", | |
| 1383 | − pPps->uiWeightedBipredIdc); | |
| 1384 | − return GENERATE_ERROR_NO (ERR_LEVEL_PARAM_SETS, ERR_INFO_UNSUPPORTED_WP); | |
| 1385 | − } | |
| 1380 | + // weighted_bipred_idc > 0 NOT supported now, but no impact when we ignore it | |
| 1386 | 1381 | |
| 1387 | 1382 | WELS_READ_VERIFY (BsGetSe (pBsAux, &iCode)); //pic_init_qp_minus26 |
| 1388 | 1383 | pPps->iPicInitQp = PIC_INIT_QP_OFFSET + iCode; |