diff --git a/demos/common/cpp_gapi/utils/include/utils/stream_source.hpp b/demos/common/cpp_gapi/utils/include/utils/stream_source.hpp index 14da81bd6cd..8734d7e36b8 100644 --- a/demos/common/cpp_gapi/utils/include/utils/stream_source.hpp +++ b/demos/common/cpp_gapi/utils/include/utils/stream_source.hpp @@ -38,7 +38,7 @@ class CustomCapSource : public cv::gapi::wip::IStreamSource } cv::Mat frame = cap->read(); if (!frame.data) { - return false;; + return false; } data = frame.clone(); return true;