static int query_formats(AVFilterContext *ctx)
{
    AVFilterFormats *formats = NULL;
    ff_add_format(&formats, AV_SAMPLE_FMT_FLT);
    ff_add_format(&formats, AV_SAMPLE_FMT_FLTP);
    ff_set_common_formats(ctx, formats);
    ff_set_common_channel_layouts(ctx, ff_all_channel_layouts());
    ff_set_common_samplerates(ctx, ff_all_samplerates());
    return 0;
}
['static int query_formats(AVFilterContext *ctx)\n{\n    AVFilterFormats *formats = NULL;\n    ff_add_format(&formats, AV_SAMPLE_FMT_FLT);\n    ff_add_format(&formats, AV_SAMPLE_FMT_FLTP);\n    ff_set_common_formats(ctx, formats);\n    ff_set_common_channel_layouts(ctx, ff_all_channel_layouts());\n    ff_set_common_samplerates(ctx, ff_all_samplerates());\n    return 0;\n}', 'int ff_add_format(AVFilterFormats **avff, int fmt)\n{\n    ADD_FORMAT(avff, fmt, int, formats, nb_formats);\n}', 'void av_freep(void *arg)\n{\n    void **ptr = (void **)arg;\n    av_free(*ptr);\n    *ptr = NULL;\n}', 'void av_free(void *ptr)\n{\n#if CONFIG_MEMALIGN_HACK\n    if (ptr)\n        free((char *)ptr - ((char *)ptr)[-1]);\n#elif HAVE_ALIGNED_MALLOC\n    _aligned_free(ptr);\n#else\n    free(ptr);\n#endif\n}']