[xiph-commits] r17544 - trunk/Tremor

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Mon Oct 18 02:53:27 PDT 2010


Author: xiphmont
Date: 2010-10-18 02:53:27 -0700 (Mon, 18 Oct 2010)
New Revision: 17544

Modified:
   trunk/Tremor/res012.c
Log:
A guard conditional used > instead of >=.  Fix for
zzuf.00005.355571120.chop.rc2-test2.ogg




Modified: trunk/Tremor/res012.c
===================================================================
--- trunk/Tremor/res012.c	2010-10-18 09:52:45 UTC (rev 17543)
+++ trunk/Tremor/res012.c	2010-10-18 09:53:27 UTC (rev 17544)
@@ -322,7 +322,7 @@
 	if(s==0){
 	  /* fetch the partition word */
 	  int temp=vorbis_book_decode(look->phrasebook,&vb->opb);
-	  if(temp==-1 || temp>info->partvals)goto eopbreak;
+	  if(temp==-1 || temp>=info->partvals)goto eopbreak;
 	  partword[l]=look->decodemap[temp];
 	  if(partword[l]==NULL)goto errout;
 	}



More information about the commits mailing list