mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
Fixed compilation error for ffmpeg tests
This commit is contained in:
parent
6d1f4bfba4
commit
1a04d09140
@ -44,6 +44,15 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined INT64_C || !defined UINT64_C
|
||||||
|
#define INT64_C
|
||||||
|
#define UINT64_C
|
||||||
|
#define __STDC_CONSTANT_MACROS
|
||||||
|
// force re-inclusion of stdint.h to get INT64_C macro
|
||||||
|
#undef _STDINT_H
|
||||||
|
#include <stdint.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
#include <libavformat/avformat.h>
|
#include <libavformat/avformat.h>
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user