mirror of
https://github.com/opencv/opencv.git
synced 2025-06-08 01:53:19 +08:00
Merge pull request #12360 from alalek:issue_12356
This commit is contained in:
commit
9e42204e67
@ -396,6 +396,8 @@ static void ApplyExifOrientation(const Mat& buf, Mat& img)
|
|||||||
static void*
|
static void*
|
||||||
imread_( const String& filename, int flags, int hdrtype, Mat* mat=0 )
|
imread_( const String& filename, int flags, int hdrtype, Mat* mat=0 )
|
||||||
{
|
{
|
||||||
|
CV_Assert(mat || hdrtype != LOAD_MAT); // mat is required in LOAD_MAT case
|
||||||
|
|
||||||
IplImage* image = 0;
|
IplImage* image = 0;
|
||||||
CvMat *matrix = 0;
|
CvMat *matrix = 0;
|
||||||
Mat temp, *data = &temp;
|
Mat temp, *data = &temp;
|
||||||
|
Loading…
Reference in New Issue
Block a user