Index: branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
===================================================================
--- branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp	(revision 1182)
+++ branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp	(revision 1183)
@@ -1225,8 +1225,8 @@
     if(pcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits)
     {
-      READ_FLAG(uiCode, "discardable_flag"); // ignored
-#if NON_REF_NAL_TYPE_DISCARDABLE
+      READ_FLAG(uiCode, "discardable_flag");
       pcSlice->setDiscardableFlag( uiCode ? true : false );
-      if (uiCode)
+
+      if( uiCode )
       {
         assert(pcSlice->getNalUnitType() != NAL_UNIT_CODED_SLICE_TRAIL_R &&
@@ -1236,5 +1236,5 @@
           pcSlice->getNalUnitType() != NAL_UNIT_CODED_SLICE_RASL_R);
       }
-#endif
+
       iBits++;
     }
