Browse Source

avfilter/af_headphone: return on error immediately

tags/n4.3
Paul B Mahol 6 years ago
parent
commit
dc33250765
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/af_headphone.c

+ 1
- 1
libavfilter/af_headphone.c View File

@@ -709,7 +709,7 @@ static int query_formats(AVFilterContext *ctx)
if (s->hrir_fmt == HRIR_MULTI) {
hrir_layouts = ff_all_channel_counts();
if (!hrir_layouts)
ret = AVERROR(ENOMEM);
return AVERROR(ENOMEM);
ret = ff_channel_layouts_ref(hrir_layouts, &ctx->inputs[1]->out_channel_layouts);
if (ret)
return ret;


Loading…
Cancel
Save