bugfix in warpAffine, correct buffer size should be used
authorKirill Kornyakov <no@email>
Thu, 16 Jun 2011 06:08:27 +0000 (06:08 +0000)
committerKirill Kornyakov <no@email>
Thu, 16 Jun 2011 06:08:27 +0000 (06:08 +0000)
modules/imgproc/src/imgwarp.cpp

index d8742fa..1a1de02 100644 (file)
@@ -159,7 +159,7 @@ static const void* initInterTab2D( int method, bool fixpt )
 
     if( !inittab[method] )
     {
-        AutoBuffer<float> _tab(INTER_TAB_SIZE);
+        AutoBuffer<float> _tab(8*INTER_TAB_SIZE);
         int i, j, k1, k2;
         initInterTab1D(method, _tab, INTER_TAB_SIZE);
         for( i = 0; i < INTER_TAB_SIZE; i++ )