Changeset 1033 in 3DVCSoftware


Ignore:
Timestamp:
31 Jul 2014, 15:30:18 (10 years ago)
Author:
tech
Message:

Fix tickets #61 + #62.

Location:
branches/HTM-11.2-dev0/source
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-11.2-dev0/source/App/TAppEncoder/TAppEncCfg.cpp

    r1030 r1033  
    14151415    for ( Int i = 0; i < m_layerIdsInSets[lsIdx].size(); i++ )
    14161416    {
     1417#if FIX_TICKET_61
     1418      xConfirmPara( m_layerIdsInSets[lsIdx][i] < 0 || m_layerIdsInSets[lsIdx][i] >= MAX_NUM_LAYER_IDS, "LayerIdsInSet must be greater than 0 and less than MAX_NUM_LAYER_IDS" );
     1419#else
    14171420      xConfirmPara( m_layerIdsInSets[lsIdx][i] < 0 || m_layerIdsInSets[lsIdx].size() >= MAX_NUM_LAYER_IDS, "LayerIdsInSet must be greater than and less than MAX_NUM_LAYER_IDS" );
     1421#endif
    14181422    }
    14191423  }
  • branches/HTM-11.2-dev0/source/Lib/TAppCommon/program_options_lite.h

    r872 r1033  
    378378        std::string cDescBuffer;
    379379
     380#if !FIX_TICKET_62
    380381        cNameBuffer       .resize( name.size() + 10 );
    381382        cDescBuffer.resize( desc.size() + 10 );
     383#endif
    382384
    383385        storage.resize(uiMaxNum);
    384386        for ( unsigned int uiK = 0; uiK < uiMaxNum; uiK++ )
    385387        {
     388
     389#if FIX_TICKET_62
     390          cNameBuffer       .resize( name.size() + 10 );
     391          cDescBuffer.resize( desc.size() + 10 );
     392#endif
     393
    386394          Bool duplicate = (uiK != 0);
    387395          // isn't there are sprintf function for string??
  • branches/HTM-11.2-dev0/source/Lib/TLibCommon/TypeDef.h

    r1030 r1033  
    282282///////////////////////////////////   DERIVED DEFINES /////////////////////////////////// 
    283283/////////////////////////////////////////////////////////////////////////////////////////
     284
     285// Fixes
     286#define FIX_TICKET_62                     1    // layerIdsInSets size check
     287#define FIX_TICKET_61                     1    // layerIdsInSets size check
    284288
    285289///// ***** VIEW SYNTHESIS OPTIMIZAION *********
Note: See TracChangeset for help on using the changeset viewer.