Changeset 859 in SHVCSoftware for branches/SHM-dev/source/App/TAppEncoder


Ignore:
Timestamp:
11 Aug 2014, 22:57:39 (10 years ago)
Author:
seregin
Message:

fix CRI SEI file check, reported by Ramasubramonian, Adarsh Krishnan <aramasub@…>

Location:
branches/SHM-dev/source/App/TAppEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r856 r859  
    19961996#if !SVC_EXTENSION
    19971997  // reading external Colour Remapping Information SEI message parameters from file
    1998   if( m_colourRemapSEIFile.c_str() )
     1998  if( m_colourRemapSEIFile.length() )
    19991999  {
    20002000    FILE* fic;
     
    20752075  for(UInt layer = 0; layer < m_numLayers; layer++)
    20762076  {
    2077     if( cfg_colourRemapSEIFile[layer]->c_str() )
     2077    if( cfg_colourRemapSEIFile[layer]->length() )
    20782078    {
    20792079      FILE* fic;
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncLayerCfg.cpp

    r856 r859  
    517517#endif
    518518#if Q0074_COLOUR_REMAPPING_SEI
    519   if ( m_colourRemapSEIFile.c_str() && !m_colourRemapSEICancelFlag )
     519  if ( m_colourRemapSEIFile.length() && !m_colourRemapSEICancelFlag )
    520520  {
    521521    xConfirmPara( m_colourRemapSEICodedDataBitDepth < 8 || m_colourRemapSEICodedDataBitDepth > 16 , "colour_remap_coded_data_bit_depth shall be in the range of 8 to 16, inclusive");
Note: See TracChangeset for help on using the changeset viewer.