From d7f60f69f17601663c40ca1b5f87bd5b12ee9d6f Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Fri, 14 Dec 2018 15:32:33 +0100 Subject: [PATCH] videoio: fix CAP_IMAGES broken in 11eafca3e2a4cbc62f1309d25db0ea3ed9a6ea8e --- modules/videoio/src/cap_images.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/videoio/src/cap_images.cpp b/modules/videoio/src/cap_images.cpp index 93ec6c01c8..f0ac7348e0 100644 --- a/modules/videoio/src/cap_images.cpp +++ b/modules/videoio/src/cap_images.cpp @@ -288,7 +288,7 @@ bool CvCapture_Images::open(const std::string& _filename) } } - if(!haveImageReader(filename)) + if(!haveImageReader(str)) break; length++;