Opened 9 years ago

Closed 9 years ago

#108 closed defect (fixed)

wrong loop

Reported by: kolya Owned by: Vadim
Priority: minor Milestone: SHM-12.0
Component: SHM software Version: SHM-11.0
Keywords: Cc: Vadim, jct-vc@…

Description

in TEncGOP.cpp, there is

for( UInt i = 0; i < MAX_LAYERS; i++ )
{

m_ppcTEncTop[i]->setPocDecrementedInDPBFlag(false);

}

this loop should be restricted to number of initialized "m_ppcTEncTop"s. Say , it is better to verify if (m_ppcTEncTop[i] != NULL)

Change history (2)

comment:1 Changed 9 years ago by Vadim

I think it is better to fix it by replacing MAX_LAYERS with m_pcCfg->getNumLayer().

comment:2 Changed 9 years ago by Vadim

  • Resolution set to fixed
  • Status changed from new to closed

fixed with rev 1528. Please reopen the ticket if the problem still exists.

Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Owner, Subscriber, Participant

  • Gerhard Tech(Always)
  • jct-vc@…(Subscriber)
  • Karsten Suehring(Always)
  • Nikolay Shlyakhov(Reporter)
  • Vadim Seregin(Owner, Subscriber, Participant)