Changeset 396 in 3DVCSoftware


Ignore:
Timestamp:
10 May 2013, 12:27:13 (12 years ago)
Author:
tech
Message:

Fixed assertion on NumPocTotalCurr.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.1-dev/source/Lib/TLibCommon/TComSlice.cpp

    r368 r396  
    517517  {
    518518    // The variable NumPocTotalCurr is derived as specified in subclause 7.4.7.2. It is a requirement of bitstream conformance that the following applies to the value of NumPocTotalCurr:
     519#if H_MV
     520    // – If nuh_layer_id is equal to 0 and the current picture is a BLA picture or a CRA picture, the value of NumPocTotalCurr shall be equal to 0.
     521    // – Otherwise, when the current picture contains a P or B slice, the value of NumPocTotalCurr shall not be equal to 0.
     522    if ( getRapPicFlag() && m_layerId == 0 )
     523#else
    519524    // – If the current picture is a BLA or CRA picture, the value of NumPocTotalCurr shall be equal to 0.
    520525    // – Otherwise, when the current picture contains a P or B slice, the value of NumPocTotalCurr shall not be equal to 0.
    521526    if (getRapPicFlag())
     527#endif
    522528    {
    523529      assert(numPocTotalCurr == 0);
Note: See TracChangeset for help on using the changeset viewer.