Changeset 1392 in 3DVCSoftware for branches/HTM-16.0-dev1/source/Lib/TLibEncoder


Ignore:
Timestamp:
17 Nov 2015, 20:34:03 (9 years ago)
Author:
tech
Message:
  • Cleanups.
  • Fix of memory leak.
  • Fix for ticket 114.
Location:
branches/HTM-16.0-dev1/source/Lib/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-16.0-dev1/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1386 r1392  
    14281428    for( Int j = 0; j  <=  vps->getMaxSubLayersInLayerSetMinus1( currLsIdx ); j++ )
    14291429    { 
     1430#if NH_3D_FIX_TICKET_114
     1431      if( j > 0  &&  dpbSize->getSubLayerFlagInfoPresentFlag( i )  ) 
     1432#else
    14301433      if( j > 0  &&  dpbSize->getSubLayerDpbInfoPresentFlag( i, j )  ) 
     1434#endif
    14311435      {
    14321436        WRITE_FLAG( dpbSize->getSubLayerDpbInfoPresentFlag( i, j ) ? 1 : 0 , "sub_layer_dpb_info_present_flag" );
  • branches/HTM-16.0-dev1/source/Lib/TLibEncoder/TEncTop.cpp

    r1386 r1392  
    9191TEncTop::~TEncTop()
    9292{
     93#if NH_3D_FIX_LEAK
     94#if NH_3D_IC
     95  if ( m_aICEnableCandidate != NULL )
     96  {
     97    delete[] m_aICEnableCandidate;
     98  }
     99
     100  if ( m_aICEnableNum != NULL )
     101  {
     102    delete[] m_aICEnableNum;
     103  }
     104#endif
     105
     106#endif
    93107#if ENC_DEC_TRACE
    94108  if (g_hTrace != stdout)
Note: See TracChangeset for help on using the changeset viewer.