Changeset 842 in SHVCSoftware for branches/SHM-dev/source/App/TAppDecoder


Ignore:
Timestamp:
26 Jul 2014, 00:50:06 (10 years ago)
Author:
seregin
Message:

memory release fix for AVC BL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp

    r831 r842  
    12411241      pcPic->destroy();
    12421242
    1243       delete pcPic;
    1244       pcPic = NULL;
     1243      // pcPic is statically created for the external (AVC) base layer, no need to delete it
     1244      if( !m_acTDecTop[layerIdx].getParameterSetManager()->getActiveVPS()->getAvcBaseLayerFlag() || layerIdx )
     1245      {
     1246        delete pcPic;
     1247        pcPic = NULL;
     1248      }
    12451249    }
    12461250  }
Note: See TracChangeset for help on using the changeset viewer.