提交 9e42204e 编写于 作者: A Alexander Alekhin

Merge pull request #12360 from alalek:issue_12356

......@@ -396,6 +396,8 @@ static void ApplyExifOrientation(const Mat& buf, Mat& img)
static void*
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;
CvMat *matrix = 0;
Mat temp, *data = &temp;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册