videoio: fix ffmpeg standalone build

This commit is contained in:
Alexander Alekhin 2021-12-20 15:03:21 +00:00
parent a079acc0d9
commit a22dd28e02

View File

@ -67,6 +67,10 @@
#ifndef CV_UNUSED // Required for standalone compilation mode (OpenCV defines this in base.hpp)
#define CV_UNUSED(name) (void)name
#endif
#ifndef CV_Assert // Required for standalone compilation mode (OpenCV defines this in base.hpp)
#include <assert.h>
#define CV_Assert(expr) assert(expr)
#endif
#ifdef __cplusplus
extern "C" {