[xiph-commits] r17347 - experimental/derf/theora-ptalarbvorm/lib

gmaxwell at svn.xiph.org gmaxwell at svn.xiph.org
Fri Jul 23 19:18:03 PDT 2010


Author: gmaxwell
Date: 2010-07-23 19:18:03 -0700 (Fri, 23 Jul 2010)
New Revision: 17347

Modified:
   experimental/derf/theora-ptalarbvorm/lib/tokenize.c
Log:
Fix encoder/decoder mistmatch in speed level 2/3.

Modified: experimental/derf/theora-ptalarbvorm/lib/tokenize.c
===================================================================
--- experimental/derf/theora-ptalarbvorm/lib/tokenize.c	2010-07-23 15:30:43 UTC (rev 17346)
+++ experimental/derf/theora-ptalarbvorm/lib/tokenize.c	2010-07-24 02:18:03 UTC (rev 17347)
@@ -778,6 +778,7 @@
   dct_fzig_zag=_enc->state.opt_data.dct_fzig_zag;
   huffi=_enc->huff_idxs[_enc->state.frame_type][1][_pli+1>>1];
   memcpy(coef,_qdct,_zzi*sizeof(*coef));
+  for(zzj=0;zzj<64;zzj++)_qdct[zzj]=0;
   for(zzj=zzi=1;zzj<_zzi&&!coef[zzj];zzj++);
   while(zzj<_zzi){
     int v;



More information about the commits mailing list