From: Kirill Kornyakov Date: Thu, 16 Jun 2011 06:08:27 +0000 (+0000) Subject: bugfix in warpAffine, correct buffer size should be used X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~6972 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b138dbde3fad4588490b7f17fd3075c5eeca10bf;p=platform%2Fupstream%2Fopencv.git bugfix in warpAffine, correct buffer size should be used --- diff --git a/modules/imgproc/src/imgwarp.cpp b/modules/imgproc/src/imgwarp.cpp index d8742fa..1a1de02 100644 --- a/modules/imgproc/src/imgwarp.cpp +++ b/modules/imgproc/src/imgwarp.cpp @@ -159,7 +159,7 @@ static const void* initInterTab2D( int method, bool fixpt ) if( !inittab[method] ) { - AutoBuffer _tab(INTER_TAB_SIZE); + AutoBuffer _tab(8*INTER_TAB_SIZE); int i, j, k1, k2; initInterTab1D(method, _tab, INTER_TAB_SIZE); for( i = 0; i < INTER_TAB_SIZE; i++ )