From 2ac62bccec74b2316b847ade6fe5b2d738dc6afc Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Mon, 5 Sep 2022 16:53:08 +0000 Subject: [PATCH] videoio(test): fix build warning --- modules/videoio/test/test_ffmpeg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/videoio/test/test_ffmpeg.cpp b/modules/videoio/test/test_ffmpeg.cpp index 5001bcf796..6f0f2f28b4 100644 --- a/modules/videoio/test/test_ffmpeg.cpp +++ b/modules/videoio/test/test_ffmpeg.cpp @@ -417,7 +417,7 @@ TEST_P(ffmpeg_get_fourcc, check_short_codecs) if(!fourcc && fileName == "../cv/tracking/faceocc2/data/faceocc2.webm") throw SkipTestException("Feature not yet supported by Windows FFmpeg shared library!"); #endif - ASSERT_EQ(fourccToString(fourcc), fourcc_string); + ASSERT_EQ(fourcc_string, fourccToString((int)fourcc)); } const ffmpeg_get_fourcc_param_t ffmpeg_get_fourcc_param[] =