Changeset 1521 in SHVCSoftware for branches/SHM-dev/source/App


Ignore:
Timestamp:
18 Jan 2016, 18:13:24 (9 years ago)
Author:
seregin
Message:

fix for the ticket #93, patch-by Rickard Sjöberg <rickard.sjoberg@…>

File:
1 edited

Legend:

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

    r1504 r1521  
    326326    if( pcListPic )
    327327    {
    328       if ( !m_reconFileName[curLayerId].empty() && !openedReconFile[curLayerId] )
     328      if ( !m_reconFileName[curLayerId].empty() && !openedReconFile[curLayerId] && m_apcTDecTop[curLayerId]->getParameterSetManager()->getActiveSPS())
    329329      {
    330330        const BitDepths& bitDepths = m_apcTDecTop[curLayerId]->getParameterSetManager()->getActiveSPS()->getBitDepths();
     
    17241724      std::vector<TComPic> *layerBuffer = m_apcTDecTop[layerId]->getConfListPic();
    17251725      // Write all pictures to the file.
    1726       if( this->getDecodedYuvLayerRefresh(layerId) )
     1726      if( this->getDecodedYuvLayerRefresh(layerId) && m_apcTDecTop[layerId]->getParameterSetManager()->getActiveSPS())
    17271727      {
    17281728        char tempFileName[256];
Note: See TracChangeset for help on using the changeset viewer.