Index: branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
===================================================================
--- branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp	(revision 1273)
+++ branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp	(revision 1275)
@@ -1140,5 +1140,5 @@
     }
     parseVPSExtension(pcVPS);
-    READ_FLAG( uiCode, "vps_entension2_flag" );
+    READ_FLAG( uiCode, "vps_extension2_flag" );
     if(uiCode)
     {
@@ -2230,6 +2230,10 @@
   }
   else
-  {
+  {  
+#if SVC_EXTENSION
+    READ_FLAG(    uiCode, PTL_TRACE_TEXT("inbld_flag"                      ));
+#else
     READ_FLAG(    uiCode, PTL_TRACE_TEXT("reserved_zero_bit"               ));
+#endif
   }
 #undef PTL_TRACE_TEXT
@@ -3042,10 +3046,10 @@
   READ_UVLC( uiCode,           "direct_dep_type_len_minus2"); vps->setDirectDepTypeLen(uiCode+2);
 
-  READ_FLAG(uiCode, "default_direct_dependency_type_flag"); 
+  READ_FLAG(uiCode, "direct_dependency_all_layers_flag"); 
   vps->setDefaultDirectDependecyTypeFlag(uiCode == 1? true : false);
 
   if( vps->getDefaultDirectDependencyTypeFlag() )
   {
-    READ_CODE( vps->getDirectDepTypeLen(), uiCode, "default_direct_dependency_type" ); 
+    READ_CODE( vps->getDirectDepTypeLen(), uiCode, "direct_dependency_all_layers_type" ); 
     vps->setDefaultDirectDependecyType(uiCode);
   }
Index: branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
===================================================================
--- branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp	(revision 1273)
+++ branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp	(revision 1275)
@@ -958,9 +958,9 @@
       resetPocRestrictionCheckParameters();
 
-      markAllPicsAsNoCurrAu(m_apcSlicePilot->getVPS());
+      markAllPicsAsNoCurrAu(vps);
 
       for( UInt i = 0; i < MAX_LAYERS; i++ )
       {
-        m_ppcTDecTop[m_apcSlicePilot->getVPS()->getLayerIdInNuh(i)]->m_pocDecrementedInDPBFlag = false;
+        m_ppcTDecTop[vps->getLayerIdInNuh(i)]->m_pocDecrementedInDPBFlag = false;
       }
     }
@@ -1056,5 +1056,5 @@
 
     //Do the reset stuff here
-    Int maxPocLsb = 1 << m_apcSlicePilot->getSPS()->getBitsForPOC();
+    Int maxPocLsb = 1 << sps->getBitsForPOC();
     Int pocLsbVal;
     if( m_apcSlicePilot->getPocResetIdc() == 3 )
@@ -1143,5 +1143,5 @@
     iPOCLastDisplay -= deltaPocVal;
   }
-  Int maxPocLsb = 1 << m_apcSlicePilot->getSPS()->getBitsForPOC();
+  Int maxPocLsb = 1 << sps->getBitsForPOC();
   Int slicePicOrderCntLsb = m_apcSlicePilot->getPicOrderCntLsb();
 
