Index: branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
===================================================================
--- branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp	(revision 1490)
+++ branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp	(revision 1491)
@@ -681,9 +681,5 @@
 }
 
-#if SCALABLE_REXT
-Void TDecCavlc::parseSPS(TComSPS* pcSPS, ParameterSetManager* pcParamSetManager)
-#else
 Void TDecCavlc::parseSPS(TComSPS* pcSPS)
-#endif
 {
 #if ENC_DEC_TRACE
@@ -693,7 +689,4 @@
   UInt  uiCode;
   READ_CODE( 4,  uiCode, "sps_video_parameter_set_id");          pcSPS->setVPSId        ( uiCode );
-#if SCALABLE_REXT
-  const TComVPS* pTmpVPS = pcParamSetManager->getVPS(pcSPS->getVPSId()); 
-#endif
 #if SVC_EXTENSION
   UInt uiTmp = 0;
@@ -748,23 +741,4 @@
       pcSPS->setUpdateRepFormatIndex(uiCode);
     }
-#if SCALABLE_REXT
-    // If update_rep_format_flag is equal to 0, the variable repFormatIdx is set equal to vps_rep_format_idx[ LayerIdxInVps[ layerIdCurr ] ].
-    else
-    {
-      Int iVPSRepFormatIdx = pTmpVPS->getVpsRepFormatIdx( pTmpVPS->getLayerIdxInVps( pcSPS->getLayerId() ) );
-      pcSPS->setUpdateRepFormatIndex( iVPSRepFormatIdx );
-
-      pcSPS->setChromaFormatIdc(              pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getChromaFormatVpsIdc() );
-      pcSPS->setPicWidthInLumaSamples(        pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getPicWidthVpsInLumaSamples() );
-      pcSPS->setPicHeightInLumaSamples(       pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getPicHeightVpsInLumaSamples() );
-      pcSPS->setBitDepth(CHANNEL_TYPE_LUMA,   pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getBitDepthVpsLuma() );
-      pcSPS->setBitDepth(CHANNEL_TYPE_CHROMA, pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getBitDepthVpsChroma() );
-      Window &conf = pcSPS->getConformanceWindow();
-      conf.setWindowLeftOffset(               pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getConformanceWindowVps().getWindowLeftOffset() );
-      conf.setWindowRightOffset(              pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getConformanceWindowVps().getWindowRightOffset() );
-      conf.setWindowTopOffset(                pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getConformanceWindowVps().getWindowTopOffset() );
-      conf.setWindowBottomOffset(             pTmpVPS->getVpsRepFormat(iVPSRepFormatIdx)->getConformanceWindowVps().getWindowBottomOffset() );
-    }
-#endif
   }
   else
Index: branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.h
===================================================================
--- branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.h	(revision 1490)
+++ branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.h	(revision 1491)
@@ -76,9 +76,5 @@
   Void  parseQtRootCbf      ( UInt uiAbsPartIdx, UInt& uiQtRootCbf );
   Void  parseVPS            ( TComVPS* pcVPS );
-#if SCALABLE_REXT
-  Void  parseSPS            ( TComSPS* pcSPS, ParameterSetManager* pcParamSetManager );
-#else
   Void  parseSPS            ( TComSPS* pcSPS );
-#endif
 #if !SVC_EXTENSION
   Void  parsePPS            ( TComPPS* pcPPS );
Index: branches/SHM-dev/source/Lib/TLibDecoder/TDecEntropy.h
===================================================================
--- branches/SHM-dev/source/Lib/TLibDecoder/TDecEntropy.h	(revision 1490)
+++ branches/SHM-dev/source/Lib/TLibDecoder/TDecEntropy.h	(revision 1491)
@@ -70,9 +70,5 @@
 
   virtual Void  parseVPS                  ( TComVPS* pcVPS )     = 0;
-#if SCALABLE_REXT
-  virtual Void  parseSPS                  ( TComSPS* pcSPS, ParameterSetManager* pcParamSetManager )     = 0;
-#else
   virtual Void  parseSPS                  ( TComSPS* pcSPS )     = 0;
-#endif
 #if CGS_3D_ASYMLUT
   virtual Void  parsePPS                  ( TComPPS* pcPPS, TCom3DAsymLUT * pc3DAsymLUT , Int nLayerID )     = 0;
@@ -147,9 +143,5 @@
 
   Void    decodeVPS                   ( TComVPS* pcVPS ) { m_pcEntropyDecoderIf->parseVPS(pcVPS); }
-#if SCALABLE_REXT
-  Void    decodeSPS                   ( TComSPS* pcSPS, ParameterSetManager* pcParamSetManager ) { m_pcEntropyDecoderIf->parseSPS(pcSPS, pcParamSetManager); }
-#else
   Void    decodeSPS                   ( TComSPS* pcSPS ) { m_pcEntropyDecoderIf->parseSPS(pcSPS); }
-#endif
 
 #if CGS_3D_ASYMLUT
Index: branches/SHM-dev/source/Lib/TLibDecoder/TDecSbac.h
===================================================================
--- branches/SHM-dev/source/Lib/TLibDecoder/TDecSbac.h	(revision 1490)
+++ branches/SHM-dev/source/Lib/TLibDecoder/TDecSbac.h	(revision 1491)
@@ -78,9 +78,5 @@
   Void  setBitstream              ( TComInputBitstream* p  ) { m_pcBitstream = p; m_pcTDecBinIf->init( p ); }
   Void  parseVPS                  ( TComVPS* /*pcVPS*/ ) {}
-#if SCALABLE_REXT
-  Void  parseSPS                  (TComSPS*  /*pcSPS*/, ParameterSetManager* /*pcParamSetManager*/ ) {}
-#else
   Void  parseSPS                  ( TComSPS* /*pcSPS*/ ) {}
-#endif
 #if CGS_3D_ASYMLUT
   Void  parsePPS                  ( TComPPS* /*pcPPS*/, TCom3DAsymLUT * /*pc3DAsymLUT*/, Int /*nLayerID*/ ) {}
Index: branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
===================================================================
--- branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp	(revision 1490)
+++ branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp	(revision 1491)
@@ -1936,9 +1936,5 @@
   sps->setLayerId(m_layerId);
 #endif
-#if SCALABLE_REXT
-  m_cEntropyDecoder.decodeSPS( sps, &m_parameterSetManager );
-#else
   m_cEntropyDecoder.decodeSPS( sps );
-#endif
   m_parameterSetManager.storeSPS(sps, naluData);
 }
