Showing the changes to codec/decoder/core/src/decode_slice.cpp (1 of 11 files). Show all
Unified · Split
| @@ -90,7 +90,7 @@ int32_t WelsTargetSliceConstruction (PWelsDecoderContext pCtx) { · 89 unmodified lines | ||
| 90 | 90 | break; |
| 91 | 91 | } |
| 92 | 92 | |
| 93 | − if (!pCtx->bParseOnly) { //for parse only, actual recon MB unnecessary | |
| 93 | + if (!pCtx->pParam->bParseOnly) { //for parse only, actual recon MB unnecessary | |
| 94 | 94 | if (WelsTargetMbConstruction (pCtx)) { |
| 95 | 95 | WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, |
| 96 | 96 | "WelsTargetSliceConstruction():::MB(%d, %d) construction error. pCurSlice_type:%d", |
| @@ -134,7 +134,7 @@ int32_t WelsTargetSliceConstruction (PWelsDecoderContext pCtx) { · 37 unmodified lines | ||
| 134 | 134 | if ((pCurSlice->eSliceType != I_SLICE) && (pCurSlice->eSliceType != P_SLICE)) |
| 135 | 135 | return 0; |
| 136 | 136 | |
| 137 | − if (pCtx->bParseOnly) //for parse only, deblocking should not go on | |
| 137 | + if (pCtx->pParam->bParseOnly) //for parse only, deblocking should not go on | |
| 138 | 138 | return 0; |
| 139 | 139 | |
| 140 | 140 | pDeblockMb = WelsDeblockingMb; |