From 1a04d091404b700e7e87aaa1671452002dff8d01 Mon Sep 17 00:00:00 2001 From: Alexander Reshetnikov Date: Mon, 26 Mar 2012 12:27:00 +0000 Subject: [PATCH] Fixed compilation error for ffmpeg tests --- modules/highgui/src/ffmpeg_codecs.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/highgui/src/ffmpeg_codecs.hpp b/modules/highgui/src/ffmpeg_codecs.hpp index 7d28e9215..453828c84 100644 --- a/modules/highgui/src/ffmpeg_codecs.hpp +++ b/modules/highgui/src/ffmpeg_codecs.hpp @@ -44,6 +44,15 @@ extern "C" { #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 +#endif + #ifdef WIN32 #include #else