From 492f64de0820238b9978827283fa4abbad31f297 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 30 May 2023 01:14:24 +0200 Subject: [PATCH] avfilter/vf_framepack: remove not needed calls and add newline to log --- libavfilter/vf_framepack.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavfilter/vf_framepack.c b/libavfilter/vf_framepack.c index 6ea88df8b2..6fb7688c0b 100644 --- a/libavfilter/vf_framepack.c +++ b/libavfilter/vf_framepack.c @@ -142,7 +142,7 @@ static int config_output(AVFilterLink *outlink) height *= 2; break; default: - av_log(ctx, AV_LOG_ERROR, "Unknown packing mode."); + av_log(ctx, AV_LOG_ERROR, "Unknown packing mode.\n"); return AVERROR_INVALIDDATA; } @@ -405,14 +405,12 @@ static int activate(AVFilterContext *ctx) FF_FILTER_FORWARD_STATUS(ctx->inputs[1], outlink); if (ff_outlink_frame_wanted(ctx->outputs[0]) && - !ff_outlink_get_status(ctx->inputs[0]) && !s->input_views[0]) { ff_inlink_request_frame(ctx->inputs[0]); return 0; } if (ff_outlink_frame_wanted(ctx->outputs[0]) && - !ff_outlink_get_status(ctx->inputs[1]) && !s->input_views[1]) { ff_inlink_request_frame(ctx->inputs[1]); return 0;