From 2280307f091f011a7c3a8eb749898706aa8d9be5 Mon Sep 17 00:00:00 2001 From: tpoirier <tangi.poirier@interdigital.com> Date: Tue, 24 Nov 2020 10:17:30 +0100 Subject: [PATCH] clean MR 1855 to avoid unnecessary processing --- source/Lib/CommonLib/LoopFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Lib/CommonLib/LoopFilter.cpp b/source/Lib/CommonLib/LoopFilter.cpp index 46b268f23d..2dd4e854ec 100644 --- a/source/Lib/CommonLib/LoopFilter.cpp +++ b/source/Lib/CommonLib/LoopFilter.cpp @@ -541,7 +541,7 @@ void LoopFilter::xSetMaxFilterLengthPQFromTransformSizes(const DeblockEdgeDir ed } if ( edgeDir == EDGE_VER ) { - for ( int cIdx = 0; cIdx < ::getNumberValidComponents(tuQ.chromaFormat); cIdx++ ) // per component + for ( int cIdx = firstComponent; cIdx < ::getNumberValidComponents(tuQ.chromaFormat); cIdx++ ) // per component { const ComponentID comp = ComponentID(cIdx); const ChannelType ch = toChannelType(comp); -- GitLab