1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

make sure that the empty mat is copied to UMat properly - i.e. UMat becomes empty. Before the patch such copy operation crashed

This commit is contained in:
Vadim Pisarevsky
2016-10-05 14:07:50 +03:00
parent e0435d3b8a
commit 83f2eb79f1
2 changed files with 5 additions and 2 deletions
@@ -118,7 +118,6 @@ private:
int height;
int settingWidth;
int settingHeight;
OSType mInputPixelFormat;
int started;
};
@@ -163,7 +162,6 @@ private:
CMTime mFrameTimestamp;
size_t mFrameNum;
OSType mInputPixelFormat;
int started;
};