X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Faf_lv2.c;h=53a58a46ea80604723547908a3f9d34b2005d7bd;hb=a04ad248a05e7b613abe09b3bb067f555108d794;hp=8a0a6fd8883af7915ee3211a39b91b1fec30e76e;hpb=44085b9951b06df1cab4105dcda004213988d84f;p=ffmpeg diff --git a/libavfilter/af_lv2.c b/libavfilter/af_lv2.c index 8a0a6fd8883..53a58a46ea8 100644 --- a/libavfilter/af_lv2.c +++ b/libavfilter/af_lv2.c @@ -524,12 +524,12 @@ static int query_formats(AVFilterContext *ctx) ret = ff_add_channel_layout(&layouts, inlayout); if (ret < 0) return ret; - ret = ff_channel_layouts_ref(layouts, &inlink->out_channel_layouts); + ret = ff_channel_layouts_ref(layouts, &inlink->outcfg.channel_layouts); if (ret < 0) return ret; if (!s->nb_outputs) { - ret = ff_channel_layouts_ref(layouts, &outlink->in_channel_layouts); + ret = ff_channel_layouts_ref(layouts, &outlink->incfg.channel_layouts); if (ret < 0) return ret; } @@ -542,7 +542,7 @@ static int query_formats(AVFilterContext *ctx) ret = ff_add_channel_layout(&layouts, outlayout); if (ret < 0) return ret; - ret = ff_channel_layouts_ref(layouts, &outlink->in_channel_layouts); + ret = ff_channel_layouts_ref(layouts, &outlink->incfg.channel_layouts); if (ret < 0) return ret; } @@ -588,7 +588,7 @@ static const AVFilterPad lv2_outputs[] = { { NULL } }; -AVFilter ff_af_lv2 = { +const AVFilter ff_af_lv2 = { .name = "lv2", .description = NULL_IF_CONFIG_SMALL("Apply LV2 effect."), .priv_size = sizeof(LV2Context),