Commit 7080bbfe authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_bm3d: forward status back

parent fee1bffb
...@@ -857,6 +857,8 @@ static int activate(AVFilterContext *ctx) ...@@ -857,6 +857,8 @@ static int activate(AVFilterContext *ctx)
int ret, status; int ret, status;
int64_t pts; int64_t pts;
FF_FILTER_FORWARD_STATUS_BACK(ctx->outputs[0], ctx->inputs[0]);
if ((ret = ff_inlink_consume_frame(ctx->inputs[0], &frame)) > 0) { if ((ret = ff_inlink_consume_frame(ctx->inputs[0], &frame)) > 0) {
ret = filter_frame(ctx, &out, frame, frame); ret = filter_frame(ctx, &out, frame, frame);
av_frame_free(&frame); av_frame_free(&frame);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment