Changeset 1425 in SHVCSoftware for branches/SHM-dev


Ignore:
Timestamp:
5 Aug 2015, 19:43:36 (9 years ago)
Author:
seregin
Message:

fix uninitialized variables at decoder

Location:
branches/SHM-dev/source/Lib/TLibDecoder
Files:
2 edited

Legend:

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

    r1365 r1425  
    17921792    if ( pcSlice->getEnableTMVPFlag() )
    17931793    {
    1794 #if SVC_EXTENSION
    1795       // set motion mapping flag
    1796       pcSlice->setMFMEnabledFlag( ( pcSlice->getNumMotionPredRefLayers() > 0 && pcSlice->getActiveNumILRRefIdx() && !pcSlice->isIntra() ) ? true : false );
    1797 #endif
    17981794      if ( pcSlice->getSliceType() == B_SLICE )
    17991795      {
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1419 r1425  
    17281728
    17291729    // motion field mapping constraint
    1730     if( pcSlice->getMFMEnabledFlag() )
     1730    if( pcSlice->getNumMotionPredRefLayers() > 0 && pcSlice->getActiveNumILRRefIdx() && !pcSlice->isIntra() )
    17311731    {
    17321732      TComPic* refPic = pcSlice->getRefPic( pcSlice->getSliceType() == B_SLICE ? ( RefPicList )( 1 - pcSlice->getColFromL0Flag() ) : REF_PIC_LIST_0 , pcSlice->getColRefIdx() );
Note: See TracChangeset for help on using the changeset viewer.