Index: /branches/SHM-2.1-multilayers-dev/source/Lib/TLibDecoder/TDecTop.cpp
===================================================================
--- /branches/SHM-2.1-multilayers-dev/source/Lib/TLibDecoder/TDecTop.cpp	(revision 266)
+++ /branches/SHM-2.1-multilayers-dev/source/Lib/TLibDecoder/TDecTop.cpp	(revision 267)
@@ -823,5 +823,5 @@
     if(m_layerId > 0)
     {
-      for( UInt i = 0; i < pcSlice->getActiveNumILRRefIdx(); i++ )
+      for( i = 0; i < pcSlice->getActiveNumILRRefIdx(); i++ )
       {
         UInt refLayerIdc = pcSlice->getInterLayerPredLayerIdc(i);
