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

John Warburton john at johnwarburton.net
Wed Mar 25 15:10:32 CET 2015


On Wed, Mar 25, 2015 at 11:41 AM, 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.
>>

> Stephen Hutchinson has replaced the outdated headers while this was
> stuck in the mailman queue

I began to re-insert the definitions of:

avs_is_yv12()
avs_get_pitch_p()
avs_get_read_ptr_p()
avs_get_write_ptr_p()
avs_load_library()
and macro AVS_FRAME_ALIGN

...which are used by libavformat/avisynth.c

...then saw they were all referenced in older files named after
AviSynth v2.5 which, understandably, needs leaving behind though its
header is still #included by avisynth.c. This is an input method to
FFmpeg I use to clear up certain frame-rate conversions, and so I'd
ask if anyone needs further help with altering this piece of FFmpeg.
JW


More information about the ffmpeg-devel mailing list