Showing the changes to codec/decoder/core/src/decode_slice.cpp (1 of 1 file). Show all
Unified · Split
| @@ -134,7 +134,8 @@ int32_t WelsTargetSliceConstruction (PWelsDecoderContext pCtx) { · 133 unmodified lines | |||
| 134 | 134 | ||
| 135 | pDeblockMb = WelsDeblockingMb; | 135 | pDeblockMb = WelsDeblockingMb; |
| 136 | 136 | ||
| 137 | if (1 == pSliceHeader->uiDisableDeblockingFilterIdc) { | 137 | if (1 == pSliceHeader->uiDisableDeblockingFilterIdc |
| 138 | || pCtx->pCurDqLayer->sLayerInfo.sSliceInLayer.iTotalMbInCurSlice <= 0) { | ||
| 138 | return 0;//NO_SUPPORTED_FILTER_IDX | 139 | return 0;//NO_SUPPORTED_FILTER_IDX |
| 139 | } else { | 140 | } else { |
| 140 | WelsDeblockingFilterSlice (pCtx, pDeblockMb); | 141 | WelsDeblockingFilterSlice (pCtx, pDeblockMb); |