avfilter/af_compand: remove pointless indirection

This commit is contained in:
Paul B Mahol 2024-05-14 09:03:48 +02:00
parent 73dca59612
commit cdf9f15506

View File

@ -252,10 +252,8 @@ static int compand_delay(AVFilterContext *ctx, AVFrame *frame)
av_frame_free(&frame);
if (out_frame) {
err = ff_filter_frame(ctx->outputs[0], out_frame);
return err;
}
if (out_frame)
return ff_filter_frame(ctx->outputs[0], out_frame);
return 0;
}