]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/af_sofalizer.c
ffplay: fix autoexit doesn't work in the case of pb->error
[ffmpeg] / libavfilter / af_sofalizer.c
index ccf3872e77b3f6447ed0a9cdb9aebe07fd8a7114..bfcdfeed0595108685b5762050f6cd6777ae5329 100644 (file)
@@ -652,7 +652,7 @@ static int query_formats(AVFilterContext *ctx)
     if (!layouts)
         return AVERROR(ENOMEM);
 
-    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;
 
@@ -661,7 +661,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;