Skip to content

Commit

Permalink
fix ffmeg check in test_package
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceIm committed Oct 10, 2022
1 parent 95134a4 commit dcebfd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recipes/opencv/4.x/test_package/test_package.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <opencv2/gapi/core.hpp>
#include <opencv2/gapi/imgproc.hpp>
#endif
#ifdef BUILD_WITH_FFMPEF
#ifdef BUILT_WITH_FFMPEG
#include <opencv2/videoio.hpp>
#endif
#ifdef BUILT_CONTRIB_SFM
Expand Down Expand Up @@ -218,7 +218,7 @@ void TestGAPI()

void TestVideo()
{
#ifdef BUILD_WITH_FFMPEG
#ifdef BUILT_WITH_FFMPEG
if (!videoio_registry::hasBackend(CAP_FFMPEG))
throw std::runtime_error("FFmpeg backend was not found");
#endif
Expand Down

0 comments on commit dcebfd4

Please sign in to comment.