[xiph-commits] r15677 - branches/theora-thusnelda/lib/enc

giles at svn.xiph.org giles at svn.xiph.org
Fri Feb 6 11:00:49 PST 2009


Author: giles
Date: 2009-02-06 11:00:48 -0800 (Fri, 06 Feb 2009)
New Revision: 15677

Modified:
   branches/theora-thusnelda/lib/enc/encoder_toplevel.c
Log:
Propagate a trunk change omitted in r15675.

theora_encode_YUVin() completes now, but 'make check' still fails 
the granulepos test.


Modified: branches/theora-thusnelda/lib/enc/encoder_toplevel.c
===================================================================
--- branches/theora-thusnelda/lib/enc/encoder_toplevel.c	2009-02-06 17:49:44 UTC (rev 15676)
+++ branches/theora-thusnelda/lib/enc/encoder_toplevel.c	2009-02-06 19:00:48 UTC (rev 15677)
@@ -186,7 +186,7 @@
   CP_INSTANCE *cpi=(CP_INSTANCE *)(t->internal_encode);
 
   if(!cpi->readyflag)return OC_EINVAL;
-  if(cpi->doneflag)return OC_EINVAL;
+  if(cpi->doneflag>0)return OC_EINVAL;
 
   /* If frame size has changed, abort out for now */
   if (yuv->y_height != (int)cpi->info.height ||



More information about the commits mailing list