mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
opencv: Use cv::AutoBuffer<>::data()
This commit is contained in:
committed by
Alexander Alekhin
parent
135ea264ef
commit
b09a4a98d4
@@ -223,7 +223,7 @@ bool BmpDecoder::readData( Mat& img )
|
||||
}
|
||||
_bgr.allocate(m_width*3 + 32);
|
||||
}
|
||||
uchar *src = _src, *bgr = _bgr;
|
||||
uchar *src = _src.data(), *bgr = _bgr.data();
|
||||
|
||||
CV_TRY
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user