]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/af_surround.c
lavfi: regroup formats lists in a single structure.
[ffmpeg] / libavfilter / af_surround.c
index 11406786ee8fb5111b77afded35c12fe5c958af5..d18b3146e7e5c6cc3ff8daa9104612af6f51c22f 100644 (file)
@@ -175,7 +175,7 @@ static int query_formats(AVFilterContext *ctx)
     if (ret)
         return ret;
 
-    ret = ff_channel_layouts_ref(layouts, &ctx->outputs[0]->in_channel_layouts);
+    ret = ff_channel_layouts_ref(layouts, &ctx->outputs[0]->incfg.channel_layouts);
     if (ret)
         return ret;
 
@@ -184,7 +184,7 @@ static int query_formats(AVFilterContext *ctx)
     if (ret)
         return ret;
 
-    ret = ff_channel_layouts_ref(layouts, &ctx->inputs[0]->out_channel_layouts);
+    ret = ff_channel_layouts_ref(layouts, &ctx->inputs[0]->outcfg.channel_layouts);
     if (ret)
         return ret;