#1389 closed defect (worksforme)possible memory issue
Description
It seems (I am not sure) that in TDecCU::create (TDecCu.cpp line 82) there is wrong loop condition: it should be <= rather that <, coz when m_uiMaxDepth == 1 there is no memory allocation. Change History (3)comment:1 Changed 10 years ago by DefaultCC Plugin
comment:2 Changed 10 years ago by karlsharman
comment:3 Changed 9 years ago by ksuehring
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
|
There does not appear to be a bug in this part of the code,
except that sometimes there are more allocations than
there needs to be:
The arrays (m_ppcYuvResi, m_ppcYuvReco, m_ppcCU) have data allocated
for each possible depth of the CU/TU tree, except the last.
These arrays are only used for the CU tree.
Since the minimum TU size must be less than the minimum CU size,
there is always enough entries for the CU tree.
A comment (& TODO) has been added to the software in r4445.