Index: branches/SHM-dev/source/Lib/TLibCommon/TComTU.cpp
===================================================================
--- branches/SHM-dev/source/Lib/TLibCommon/TComTU.cpp	(revision 1498)
+++ branches/SHM-dev/source/Lib/TLibCommon/TComTU.cpp	(revision 1499)
@@ -47,5 +47,9 @@
 
 TComTU::TComTU(TComDataCU *pcCU, const UInt absPartIdxCU, const UInt cuDepth, const UInt initTrDepthRelCU)
+#if SCALABLE_REXT
+  : mChromaFormat(pcCU->getSlice()->getChromaFormatIdc()),
+#else
   : mChromaFormat(pcCU->getSlice()->getSPS()->getChromaFormatIdc()),
+#endif
     mbProcessLastOfLevel(true), // does not matter. the top level is not 4 quadrants.
     mCuDepth(cuDepth),
Index: branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
===================================================================
--- branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp	(revision 1498)
+++ branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp	(revision 1499)
@@ -1225,5 +1225,9 @@
 #endif
 
+#if SCALABLE_REXT
+  const ChromaFormat chFmt = pcSlice->getChromaFormatIdc();
+#else
   const ChromaFormat chFmt = sps->getChromaFormatIdc();
+#endif
   const UInt numValidComp=getNumberValidComponents(chFmt);
   const Bool bChroma=(chFmt!=CHROMA_400);
@@ -2425,5 +2429,9 @@
 {
         WPScalingParam *wp;
+#if SCALABLE_REXT
+  const ChromaFormat    chFmt        = pcSlice->getChromaFormatIdc();
+#else
   const ChromaFormat    chFmt        = sps->getChromaFormatIdc();
+#endif
   const Int             numValidComp = Int(getNumberValidComponents(chFmt));
   const Bool            bChroma      = (chFmt!=CHROMA_400);
Index: branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
===================================================================
--- branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp	(revision 1498)
+++ branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp	(revision 1499)
@@ -633,5 +633,9 @@
 #endif
     m_cLoopFilter.create( sps->getMaxTotalCUDepth() );
+#if SCALABLE_REXT
+    m_cPrediction.initTempBuff(pSlice->getChromaFormatIdc());
+#else
     m_cPrediction.initTempBuff(sps->getChromaFormatIdc());
+#endif
 
 
