[xiph-commits] r12245 - trunk/sushivision

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Wed Dec 27 16:27:01 PST 2006


Author: xiphmont
Date: 2006-12-27 16:27:00 -0800 (Wed, 27 Dec 2006)
New Revision: 12245

Modified:
   trunk/sushivision/panel-2d.c
Log:
Another fix to 'wrong dimension count' in computation (the dim array
passed to an objective is in the context of the global instance, not a
single panel).



Modified: trunk/sushivision/panel-2d.c
===================================================================
--- trunk/sushivision/panel-2d.c	2006-12-27 23:47:45 UTC (rev 12244)
+++ trunk/sushivision/panel-2d.c	2006-12-28 00:27:00 UTC (rev 12245)
@@ -827,7 +827,7 @@
 
   /* render using local dimension array; several threads will be
      computing objectives */
-  double dim_vals[d];
+  double dim_vals[p->sushi->dimensions];
 
   /* render into temporary line; computation may be interrupted by
      events such as resizing, so we must be careful to simply assume



More information about the commits mailing list