mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
vf_libopencv: add support for opencv 3
It dropped the old headers, but the replacements are already available with opencv 2. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
This commit is contained in:
@@ -23,8 +23,14 @@
|
||||
* libopencv wrapper functions
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#if HAVE_OPENCV2_CORE_CORE_C_H
|
||||
#include <opencv2/core/core_c.h>
|
||||
#include <opencv2/imgproc/imgproc_c.h>
|
||||
#else
|
||||
#include <opencv/cv.h>
|
||||
#include <opencv/cxcore.h>
|
||||
#endif
|
||||
#include "libavutil/avstring.h"
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/file.h"
|
||||
|
||||
Reference in New Issue
Block a user