summaryrefslogtreecommitdiff
path: root/chromium/third_party/ffmpeg/compat/avisynth/avs/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/ffmpeg/compat/avisynth/avs/config.h')
-rw-r--r--chromium/third_party/ffmpeg/compat/avisynth/avs/config.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/chromium/third_party/ffmpeg/compat/avisynth/avs/config.h b/chromium/third_party/ffmpeg/compat/avisynth/avs/config.h
index 7acd95b57ec..a7d3e692ea4 100644
--- a/chromium/third_party/ffmpeg/compat/avisynth/avs/config.h
+++ b/chromium/third_party/ffmpeg/compat/avisynth/avs/config.h
@@ -42,7 +42,7 @@
// alignment. They should always request the exact alignment value they need.
// This is to make sure that plugins work over the widest range of AviSynth
// builds possible.
-#define FRAME_ALIGN 32
+#define FRAME_ALIGN 64
#if defined(_M_AMD64) || defined(__x86_64)
# define X86_64
@@ -52,4 +52,19 @@
# error Unsupported CPU architecture.
#endif
+#if defined(_MSC_VER)
+# define MSVC
+#elif defined(__GNUC__)
+# define GCC
+#elif defined(__clang__)
+# define CLANG
+#else
+# error Unsupported compiler.
+#endif
+
+#if defined(GCC)
+# undef __forceinline
+# define __forceinline inline
+#endif
+
#endif //AVS_CONFIG_H