From d19f8e711c06287006e680c1bd417ffe52074a6b Mon Sep 17 00:00:00 2001 From: Stephen Hutchinson Date: Sun, 31 Mar 2019 20:12:55 -0400 Subject: doc/general.texi: add note about 32-bit GCC builds of AviSynth+ --- doc/general.texi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc/general.texi') diff --git a/doc/general.texi b/doc/general.texi index dd01cafd8d..d2324612c2 100644 --- a/doc/general.texi +++ b/doc/general.texi @@ -51,6 +51,21 @@ For Windows, supported AviSynth variants are For Linux and OS X, the supported AviSynth variant is @url{https://github.com/avxsynth/avxsynth, AvxSynth}. +@float NOTE +In 2016, AviSynth+ added support for building with GCC. However, due to +the eccentricities of Windows' calling conventions, 32-bit GCC builds +of AviSynth+ are not compatible with typical 32-bit builds of FFmpeg. + +By default, FFmpeg assumes compatibility with 32-bit MSVC builds of +AviSynth+ since that is the most widely-used and entrenched build +configuration. Users can override this and enable support for 32-bit +GCC builds of AviSynth+ by passing @code{-DAVSC_WIN32_GCC32} to +@code{--extra-cflags} when configuring FFmpeg. + +64-bit builds of FFmpeg are not affected, and can use either MSVC or +GCC builds of AviSynth+ without any special flags. +@end float + @float NOTE AviSynth and AvxSynth are loaded dynamically. Distributors can build FFmpeg with @code{--enable-avisynth}, and the binaries will work regardless of the -- cgit v1.2.3