bugfix in warpAffine, correct buffer size should be used

This commit is contained in:
Kirill Kornyakov 2011-06-16 06:08:27 +00:00
parent 412e7a835f
commit b138dbde3f

View 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++ )