Index: /branches/SHM-1.1-dev/source/Lib/TLibCommon/TComSlice.cpp
===================================================================
--- /branches/SHM-1.1-dev/source/Lib/TLibCommon/TComSlice.cpp	(revision 67)
+++ /branches/SHM-1.1-dev/source/Lib/TLibCommon/TComSlice.cpp	(revision 68)
@@ -2220,5 +2220,5 @@
     RefPicList eRefPicList = RefPicList( iRefPicList );
 
-    assert( pcSlice->getNumRefIdx( eRefPicList) > 0 );
+    assert( pcSlice->getNumRefIdx( eRefPicList) >= 0 );
     setNumRefIdx( eRefPicList, pcSlice->getNumRefIdx( eRefPicList ) - 1 );
     assert( getNumRefIdx( eRefPicList) <= MAX_NUM_REF);
