Merge pull request #26634 from FantasqueX:fix-test-exif-1

Fix test_exif compilation when none of JPEG, PNG, AVIF is enabled
This commit is contained in:
Alexander Smorkalov 2024-12-17 22:36:42 +03:00 committed by GitHub
commit 7ddc02907e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,9 @@
// It is subject to the license terms in the LICENSE file found in the top-level
// directory of this distribution and at http://opencv.org/license.html
#include <string>
#include <vector>
#include "test_precomp.hpp"
namespace opencv_test { namespace {
@ -110,7 +113,7 @@ TEST_P(Exif, exif_orientation)
}
}
const string exif_files[] =
const std::vector<std::string> exif_files
{
#ifdef HAVE_JPEG
"readwrite/testExifOrientation_1.jpg",