Fixed compilation error for ffmpeg tests

This commit is contained in:
Alexander Reshetnikov 2012-03-26 12:27:00 +00:00
parent 6d1f4bfba4
commit 1a04d09140

View File

@ -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