Fixed compilation error for ffmpeg tests
authorAlexander Reshetnikov <no@email>
Mon, 26 Mar 2012 12:27:00 +0000 (12:27 +0000)
committerAlexander Reshetnikov <no@email>
Mon, 26 Mar 2012 12:27:00 +0000 (12:27 +0000)
modules/highgui/src/ffmpeg_codecs.hpp

index 7d28e92..453828c 100644 (file)
 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 <stdint.h>
+#endif
+
 #ifdef WIN32
   #include <libavformat/avformat.h>
 #else