avfilter/vf_bm3d: forward status back

This commit is contained in:
Paul B Mahol 2019-10-19 18:45:35 +02:00
parent fee1bffbc2
commit 7080bbfef4
1 changed files with 2 additions and 0 deletions

View File

@ -857,6 +857,8 @@ static int activate(AVFilterContext *ctx)
int ret, status;
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) {
ret = filter_frame(ctx, &out, frame, frame);
av_frame_free(&frame);