Changeset 1001 in SHVCSoftware for branches


Ignore:
Timestamp:
22 Jan 2015, 07:27:57 (10 years ago)
Author:
seregin
Message:

use layerIdx for getPocLsbNotPresentFlag, patch was provided by Hendry <fhendry@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r999 r1001  
    39643964  }
    39653965#if Q0142_POC_LSB_NOT_PRESENT
    3966   if ( rpcSlice->getVPS()->getPocLsbNotPresentFlag(rpcSlice->getLayerId()) && iPOClsb > 0 )
     3966  if ( vps->getPocLsbNotPresentFlag(layerIdx) && iPOClsb > 0 )
    39673967  {
    39683968    assert( rpcSlice->getPocResetIdc() != 2 );
     
    39843984    READ_CODE(rpcSlice->getSPS()->getBitsForPOC(), uiCode,"poc_lsb_val"); rpcSlice->setPocLsbVal(uiCode);
    39853985#if Q0142_POC_LSB_NOT_PRESENT
    3986     if ( rpcSlice->getVPS()->getPocLsbNotPresentFlag(rpcSlice->getLayerId()) && rpcSlice->getFullPocResetFlag() )
     3986    if ( vps->getPocLsbNotPresentFlag(layerIdx) && rpcSlice->getFullPocResetFlag() )
    39873987    {
    39883988      assert( rpcSlice->getPocLsbVal() == 0 );
Note: See TracChangeset for help on using the changeset viewer.