From d7691f6cadd1b73e1672ce18fb09a0be415f65fc Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Fri, 11 Jun 2010 18:43:46 +0000 Subject: [PATCH] another attempt to fix cvcap_ffmpeg.cpp compile errors --- modules/highgui/src/cap_ffmpeg.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/highgui/src/cap_ffmpeg.cpp b/modules/highgui/src/cap_ffmpeg.cpp index eb468c2343..24702fe622 100644 --- a/modules/highgui/src/cap_ffmpeg.cpp +++ b/modules/highgui/src/cap_ffmpeg.cpp @@ -49,6 +49,8 @@ extern "C" { #if !defined(WIN32) || defined(__MINGW32__) // some versions of FFMPEG assume a C99 compiler, and don't define INT64_C #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