Opened 6 months ago

Closed 6 months ago

#288 closed defect (fixed)

Compile issue when JVET_N0415_CTB_ALF is equal to zeo

Reported by: ksuehring Owned by:
Priority: minor Milestone: VTM-5.1
Component: VTM Version: VTM-5.0
Keywords: Cc: ksuehring, XiangLi, fbossen, jvet@…

Description

copySliceInfo() contains the following code:

#if JVET_N0415_CTB_ALF
  memcpy(m_apss, pSrc->m_apss, sizeof(m_apss)); // this might be quite unsafe
  memcpy( m_tileGroupAlfEnabledFlag, pSrc->m_tileGroupAlfEnabledFlag, sizeof(m_tileGroupAlfEnabledFlag));
  m_tileGroupNumAps               = pSrc->m_tileGroupNumAps;
  m_tileGroupLumaApsId            = pSrc->m_tileGroupLumaApsId;
  m_tileGroupChromaApsId          = pSrc->m_tileGroupChromaApsId;
#else
  m_apsId;
  m_aps;
  m_tileGroupAlfEnabledFlag;
#endif

The #else branch does not assign anything. It looks like the author forgot to fill in the assignments.

Change history (2)

comment:2 Changed 6 months ago by ksuehring

  • Milestone set to VTM-5.1
  • Resolution set to fixed
  • Status changed from new to closed

MR 569 was merged

Note: See TracTickets for help on using tickets.