Do not hardcode the type of AVFilterFormats.formats in allocation