img_resample() is used unconditionally
Today, FFmpeg builds use either img_resample() functions, either libswscale. master has been updated to be able to use both (more or less successfully) but bugfix still relies on img_resample() being available, with no alternative.
Thus it is impossible to build the ffmpeg plugin if your ffmpeg library has been built with libswscale.