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

Fixed bug when MSMF webcamera doesn't start when build with VIDEOIO_PLUGIN_ALL

This commit is contained in:
Alexander Lyulkov
2023-08-09 18:43:49 +08:00
parent c9a4775d49
commit 4a12707103
-2
View File
@@ -2719,8 +2719,6 @@ CvResult CV_API_CALL cv_capture_open_with_params(
if (!handle)
return CV_ERROR_FAIL;
*handle = NULL;
if (!filename)
return CV_ERROR_FAIL;
CaptureT* cap = 0;
try
{