﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
143	(E049) When ALF off and SAO on, setUseNonCrossAlf(flag) is not set before calling ALF process	davidf		"Using revision r804

In TEncGop.cpp:385, setting of non-cross-ALF is guarded by ALF being in use:
{{{
      if(pcSlice->getSPS()->getUseALF())
      {
       ...
      }
}}}

Later, however, at around line 509:
{{{
#if MTK_SAO
          if ( pcSlice->getSPS()->getUseALF() || (pcSlice->getSPS()->getUseSAO()) )
...
            m_pcAdaptiveLoopFilter->startALFEnc(pcPic, m_pcEntropyCoder );
}}}
The ALF process is called without the correct state being set.
"	defect	closed	major	HM-3.1	HM	HM-3.0	fixed		fbossen ksuehring davidf jct-vc@…
