1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merge pull request #16604 from Volskig:mp/ocv-gapi-zero-height-mat

G-API: Zero-height mat is cause of crash

* Added check for zero-height Mat case

* Refactoring, added validate_input_arg func

* No bool function now
This commit is contained in:
Maxim Pashchenkov
2020-03-10 14:44:16 +03:00
committed by GitHub
parent 27b71d6368
commit 3befdb4ae8
4 changed files with 65 additions and 0 deletions
+1
View File
@@ -56,6 +56,7 @@ void cv::GCompiled::Priv::checkArgs(const cv::gimpl::GRuntimeArgs &args) const
"for different metadata!"));
// FIXME: Add details on what is actually wrong
}
validate_input_args(args.inObjs);
}
bool cv::GCompiled::Priv::canReshape() const