Changeset 653 in SHVCSoftware for branches/SHM-6-dev


Ignore:
Timestamp:
8 Apr 2014, 23:20:05 (11 years ago)
Author:
seregin
Message:

fix signaling of base_layer_parameter_set_compatibility_flag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r652 r653  
    15641564    for(i = 1; i < vps->getMaxLayers(); i++)
    15651565    {
    1566       if(vps->getNumRefLayers(vps->getLayerIdInNuh(i)) == 0)
    1567       {
    1568         if ((vps->getSPSId(i) == 0) && (vps->getPPSId(i) == 0))
     1566      if( vps->getNumRefLayers(vps->getLayerIdInNuh(i)) == 0 )
     1567      {
     1568        if( (vps->getSPSId(i) == 0) && (vps->getPPSId(i) == 0) )
    15691569        {
    15701570          vps->setBaseLayerPSCompatibilityFlag(i, 1);
    1571           WRITE_FLAG(vps->getBaseLayerPSCompatibilityFlag(i), "base_layer_parameter_set_compatibility_flag" );
    15721571        }
    15731572        else
     
    15751574          vps->setBaseLayerPSCompatibilityFlag(i, 0);
    15761575        }
     1576        WRITE_FLAG(vps->getBaseLayerPSCompatibilityFlag(i), "base_layer_parameter_set_compatibility_flag" );
    15771577      }
    15781578    }
Note: See TracChangeset for help on using the changeset viewer.