Merge pull request #1270 from rdm12:bugfix_3094

This commit is contained in:
Roman Donchenko 2013-08-14 18:49:38 +04:00 committed by OpenCV Buildbot
commit 902aa309f8

View File

@ -191,6 +191,7 @@ pyrDown_( const Mat& _src, Mat& _dst, int borderType )
typedef typename CastOp::type1 WT;
typedef typename CastOp::rtype T;
CV_Assert( !_src.empty() );
Size ssize = _src.size(), dsize = _dst.size();
int cn = _src.channels();
int bufstep = (int)alignSize(dsize.width*cn, 16);