[xiph-commits] r17545 - trunk/Tremor
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Mon Oct 18 02:54:02 PDT 2010
Author: xiphmont
Date: 2010-10-18 02:54:02 -0700 (Mon, 18 Oct 2010)
New Revision: 17545
Modified:
trunk/Tremor/floor0.c
Log:
Check that floor0 books all have a value mapping. Fixes
zzuf.00005.361003813.chop.lsp-test4.ogg etc.
Modified: trunk/Tremor/floor0.c
===================================================================
--- trunk/Tremor/floor0.c 2010-10-18 09:53:27 UTC (rev 17544)
+++ trunk/Tremor/floor0.c 2010-10-18 09:54:02 UTC (rev 17545)
@@ -327,6 +327,7 @@
for(j=0;j<info->numbooks;j++){
info->books[j]=oggpack_read(opb,8);
if(info->books[j]<0 || info->books[j]>=ci->books)goto err_out;
+ if(ci->book_param[info->books[j]]->maptype==0)goto err_out;
}
return(info);
More information about the commits
mailing list