Changeset 1420 in SHVCSoftware


Ignore:
Timestamp:
5 Aug 2015, 03:32:41 (9 years ago)
Author:
seregin
Message:

replace NULL with 0

Location:
branches/SHM-dev/source
Files:
4 edited

Legend:

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

    r1416 r1420  
    6666#endif
    6767{
    68   memset( m_apcTDecTop, NULL, sizeof(m_apcTDecTop) );
    69   memset( m_apcTVideoIOYuvReconFile, NULL, sizeof(m_apcTVideoIOYuvReconFile) );
     68  memset( m_apcTDecTop, 0, sizeof(m_apcTDecTop) );
     69  memset( m_apcTVideoIOYuvReconFile, 0, sizeof(m_apcTVideoIOYuvReconFile) );
    7070
    7171  for(UInt layer=0; layer < MAX_LAYERS; layer++)
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r1415 r1420  
    121121, m_elRapSliceBEnabled(0)
    122122{
    123   memset( m_apcLayerCfg, NULL, sizeof(m_apcLayerCfg) );
     123  memset( m_apcLayerCfg, 0, sizeof(m_apcLayerCfg) );
    124124  memset( m_scalabilityMask, 0, sizeof(m_scalabilityMask) );
    125125}
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1415 r1420  
    6464  m_essentialBytes = 0;
    6565#if SVC_EXTENSION
    66   memset( m_apcTVideoIOYuvInputFile, NULL, sizeof(m_apcTVideoIOYuvInputFile) );
    67   memset( m_apcTVideoIOYuvReconFile, NULL, sizeof(m_apcTVideoIOYuvReconFile) );
    68   memset( m_apcTEncTop, NULL, sizeof(m_apcTEncTop) );
     66  memset( m_apcTVideoIOYuvInputFile, 0, sizeof(m_apcTVideoIOYuvInputFile) );
     67  memset( m_apcTVideoIOYuvReconFile, 0, sizeof(m_apcTVideoIOYuvReconFile) );
     68  memset( m_apcTEncTop, 0, sizeof(m_apcTEncTop) );
    6969#endif
    7070}
  • branches/SHM-dev/source/Lib/TLibCommon/TComPic.cpp

    r1419 r1420  
    6464  memset( m_bSpatialEnhLayer, false, sizeof( m_bSpatialEnhLayer ) );
    6565  memset( m_equalPictureSizeAndOffsetFlag, false, sizeof( m_equalPictureSizeAndOffsetFlag ) );
    66   memset( m_mvScalingFactor, NULL, sizeof( m_mvScalingFactor ) );
    67   memset( m_posScalingFactor, NULL, sizeof( m_posScalingFactor ) );
     66  memset( m_mvScalingFactor, 0, sizeof( m_mvScalingFactor ) );
     67  memset( m_posScalingFactor, 0, sizeof( m_posScalingFactor ) );
    6868#endif
    6969  for(UInt i=0; i<NUM_PIC_YUV; i++)
Note: See TracChangeset for help on using the changeset viewer.