Fix build errors
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
|
||||
#include "precomp.hpp"
|
||||
|
||||
#ifndef WIN32
|
||||
#if defined HAVE_FFMPEG && !defined WIN32
|
||||
#include "cap_ffmpeg_impl.hpp"
|
||||
#else
|
||||
#include "cap_ffmpeg_api.hpp"
|
||||
|
@@ -61,8 +61,10 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
# define AVUTIL_COMMON_H
|
||||
# define MKBETAG(a,b,c,d) ((d) | ((c) << 8) | ((b) << 16) | ((unsigned)(a) << 24))
|
||||
# ifdef __OPENCV_BUILD
|
||||
# define AVUTIL_COMMON_H
|
||||
# define MKBETAG(a,b,c,d) ((d) | ((c) << 8) | ((b) << 16) | ((unsigned)(a) << 24))
|
||||
# endif
|
||||
# include <libavformat/avformat.h>
|
||||
#else
|
||||
|
||||
|
Reference in New Issue
Block a user