From: Alexander Reshetnikov Date: Mon, 26 Mar 2012 12:27:00 +0000 (+0000) Subject: Fixed compilation error for ffmpeg tests X-Git-Tag: accepted/2.0/20130307.220821~1013 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a04d091404b700e7e87aaa1671452002dff8d01;p=profile%2Fivi%2Fopencv.git Fixed compilation error for ffmpeg tests --- diff --git a/modules/highgui/src/ffmpeg_codecs.hpp b/modules/highgui/src/ffmpeg_codecs.hpp index 7d28e92..453828c 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