mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
This commit is contained in:
@@ -2397,8 +2397,8 @@ void cv::fillPoly(InputOutputArray _img, InputArrayOfArrays pts,
|
||||
return;
|
||||
AutoBuffer<Point*> _ptsptr(ncontours);
|
||||
AutoBuffer<int> _npts(ncontours);
|
||||
Point** ptsptr = _ptsptr;
|
||||
int* npts = _npts;
|
||||
Point** ptsptr = _ptsptr.data();
|
||||
int* npts = _npts.data();
|
||||
|
||||
for( i = 0; i < ncontours; i++ )
|
||||
{
|
||||
@@ -2425,8 +2425,8 @@ void cv::polylines(InputOutputArray _img, InputArrayOfArrays pts,
|
||||
return;
|
||||
AutoBuffer<Point*> _ptsptr(ncontours);
|
||||
AutoBuffer<int> _npts(ncontours);
|
||||
Point** ptsptr = _ptsptr;
|
||||
int* npts = _npts;
|
||||
Point** ptsptr = _ptsptr.data();
|
||||
int* npts = _npts.data();
|
||||
|
||||
for( i = 0; i < ncontours; i++ )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user