Merge pull request #24133 from alexlyulkov:al/fixed-msmf-webcam

Fixed bug when MSMF webcamera doesn't start when build with VIDEOIO_PLUGIN_ALL
This commit is contained in:
Alexander Smorkalov 2023-08-10 11:48:38 +03:00 committed by GitHub
commit 3421b950ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
{