diff options
Diffstat (limited to 'src/filters/transform/MPCVideoDec')
-rw-r--r-- | src/filters/transform/MPCVideoDec/FfmpegContext.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/filters/transform/MPCVideoDec/FfmpegContext.cpp b/src/filters/transform/MPCVideoDec/FfmpegContext.cpp index df8261d03..965e47b81 100644 --- a/src/filters/transform/MPCVideoDec/FfmpegContext.cpp +++ b/src/filters/transform/MPCVideoDec/FfmpegContext.cpp @@ -1,5 +1,5 @@ /*
- * (C) 2007-2012 see Authors.txt
+ * (C) 2007-2013 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -22,7 +22,9 @@ #include <WinNT.h>
#include <vfwmsgs.h>
#include <sys/timeb.h>
+#if defined(STANDALONE_FILTER) && defined(_WIN64)
#include <time.h> // for the _time64 workaround
+#endif
#include "FfmpegContext.h"
#include "../../../DSUtil/SysVersion.h"
@@ -54,8 +56,10 @@ extern "C" { #if defined(STANDALONE_FILTER)
void* __imp_toupper = toupper;
+#if defined(_WIN64)
void* __imp_time64 = _time64;
#endif
+#endif
#define CHECK_AVC_L52_SIZE(w, h) ((w) <= 4096 && (h) <= 4096 && (w) * (h) <= 36864 * 16 * 16)
|