Index: branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
===================================================================
--- branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp	(revision 1276)
+++ branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp	(revision 1277)
@@ -49,7 +49,4 @@
 #include <time.h>
 #include <math.h>
-#if SVC_EXTENSION
-#include <limits.h>
-#endif
 
 #include <deque>
@@ -58,4 +55,8 @@
 #if ENVIRONMENT_VARIABLE_DEBUG_AND_TEST
 Bool g_bFinalEncode = false;
+#endif
+
+#if SVC_EXTENSION
+Bool TEncGOP::m_signalledVPS = false;
 #endif
 
@@ -216,4 +217,11 @@
 Int TEncGOP::xWriteVPS (AccessUnit &accessUnit, const TComVPS *vps)
 {
+#if SVC_EXTENSION
+  if( m_signalledVPS )
+  {
+    return 0;
+  }
+  m_signalledVPS = true;
+#endif
   OutputNALUnit nalu(NAL_UNIT_VPS);
   m_pcEntropyCoder->setBitstream(&nalu.m_Bitstream);
Index: branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.h
===================================================================
--- branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.h	(revision 1276)
+++ branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.h	(revision 1277)
@@ -164,4 +164,5 @@
   Bool  m_noRaslOutputFlag;
   Bool  m_prevPicHasEos;
+  static Bool m_signalledVPS;
 #endif
   
