Commit 2280307f authored by Tangi Poirier's avatar Tangi Poirier
Browse files

clean MR 1855 to avoid unnecessary processing

parent 3f65d27e
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment