X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Faf_headphone.c;h=552ad84837e034b1e995e5c684de76c0172a1ad0;hb=c53f9f436440be4e180aa3895920ef21019c076f;hp=10638f9e7b57f9c3cd3e6da8a83c053960683af8;hpb=e4e04dce1fab81bcdef82e60184d50c73d212c6a;p=ffmpeg diff --git a/libavfilter/af_headphone.c b/libavfilter/af_headphone.c index 10638f9e7b5..552ad84837e 100644 --- a/libavfilter/af_headphone.c +++ b/libavfilter/af_headphone.c @@ -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;