Ignore:
Timestamp:
27 Jun 2013, 23:35:48 (11 years ago)
Author:
tech
Message:

Fix alt_collocated_ref_idx parsing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev0/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r500 r503  
    15071507      {
    15081508        READ_FLAG( uiCode, "alt_collocated_indication_flag" ); rpcSlice->setAltCollocatedIndicationFlag( uiCode == 1 );
    1509         if( rpcSlice->getAltCollocatedIndicationFlag() && rpcSlice->getNumActiveMotionPredRefLayers() > 1 )
    1510         {         
    1511           READ_UVLC( uiCode, "collocated_ref_layer_idx" ); rpcSlice->setCollocatedRefLayerIdx( uiCode );
    1512         }
    1513       }
     1509      }
     1510
     1511      if( rpcSlice->getAltCollocatedIndicationFlag() && rpcSlice->getNumActiveMotionPredRefLayers() > 1 )
     1512      {         
     1513        READ_UVLC( uiCode, "collocated_ref_layer_idx" ); rpcSlice->setCollocatedRefLayerIdx( uiCode );
     1514      }     
    15141515      else
    15151516      {
Note: See TracChangeset for help on using the changeset viewer.