Fix avisynth compilation after allformats.h was removed