We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7180adf + 1f887a0 commit 3a182d4Copy full SHA for 3a182d4
codec/decoder/core/src/decode_slice.cpp
@@ -134,7 +134,8 @@ int32_t WelsTargetSliceConstruction (PWelsDecoderContext pCtx) {
134
135
pDeblockMb = WelsDeblockingMb;
136
137
- if (1 == pSliceHeader->uiDisableDeblockingFilterIdc) {
+ if (1 == pSliceHeader->uiDisableDeblockingFilterIdc
138
+ || pCtx->pCurDqLayer->sLayerInfo.sSliceInLayer.iTotalMbInCurSlice <= 0) {
139
return 0;//NO_SUPPORTED_FILTER_IDX
140
} else {
141
WelsDeblockingFilterSlice (pCtx, pDeblockMb);
0 commit comments