Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
avfilter/af_headphone: return on error immediately
  • Loading branch information
richardpl committed Sep 16, 2019
1 parent 921eb21 commit dc33250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavfilter/af_headphone.c
Expand Up @@ -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;
Expand Down

0 comments on commit dc33250

Please sign in to comment.