[FFmpeg-devel] [PATCH] lavf/avisynth: fix compilation, remove bundled headers

Roger Pack rogerdpack2 at gmail.com
Wed Mar 25 16:58:15 CET 2015


On 3/25/15, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Tue, Mar 24, 2015 at 07:40:33PM +0100, Martin Herkt wrote:
>> Merge commit 1530732 broke compilation with AviSynth enabled.
>>
>> There's really no reason to keep outdated, incompatible copies of
>> these headers in the FFmpeg source tree. No one should be using
>> AviSynth 2.5 either.
>> ---
>>  compat/avisynth/avisynth_c.h                       | 880
>> ---------------------
>>  compat/avisynth/avisynth_c_25.h                    |  68 --
>>  compat/avisynth/avxsynth_c.h                       | 728
>> -----------------
>>  .../windowsPorts/basicDataTypeConversions.h        |  85 --
>>  compat/avisynth/windowsPorts/windows2linux.h       |  77 --
>>  doc/general.texi                                   |  23 +-
>>  libavformat/avisynth.c                             |  27 +-
>>  7 files changed, 35 insertions(+), 1853 deletions(-)
>>  delete mode 100644 compat/avisynth/avisynth_c.h
>>  delete mode 100644 compat/avisynth/avisynth_c_25.h
>>  delete mode 100644 compat/avisynth/avxsynth_c.h
>>  delete mode 100644
>> compat/avisynth/windowsPorts/basicDataTypeConversions.h
>>  delete mode 100644 compat/avisynth/windowsPorts/windows2linux.h
>
> Stephen Hutchinson has replaced the outdated headers while this was
> stuck in the mailman que

Mine still doesn't build [at least cross compile, but I assume native]
with the same errors reported in this thread...

CC	libavformat/avisynth.o
In file included from libavformat/avisynth.c:33:0:
./compat/avisynth/avisynth_c.h: In function 'avs_is_same_colorspace':
./compat/avisynth/avisynth_c.h:363:17: error: implicit declaration of
function 'avs_is_yv12' [-Werror=implicit-function-declaration]
                 || (avs_is_yv12(x) && avs_is_yv12(y));
...


More information about the ffmpeg-devel mailing list