Ignore:
Timestamp:
11 Oct 2013, 07:09:11 (11 years ago)
Author:
seregin
Message:

correct the check for opened file

File:
1 edited

Legend:

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

    r431 r432  
    276276  pcBLPic.destroy();
    277277
    278   UInt layerIdmin = m_acTDecTop[0].getBLReconFile() == NULL ? 0 : 1;
     278  UInt layerIdmin = m_acTDecTop[0].getBLReconFile()->is_open() ? 1 : 0;
    279279
    280280  for(UInt layer = layerIdmin; layer <= m_tgtLayerId; layer++)
     
    463463    if ( m_pchReconFile[layer] )
    464464    {
    465       m_acTVideoIOYuvReconFile[layer]. close();
     465      m_acTVideoIOYuvReconFile[layer].close();
    466466    }
    467467
Note: See TracChangeset for help on using the changeset viewer.