aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_framepack.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2023-05-30 01:14:24 +0200
committerPaul B Mahol <onemda@gmail.com>2023-05-30 02:16:46 +0200
commit492f64de0820238b9978827283fa4abbad31f297 (patch)
tree72a1dce74a5e98c554c8ce90585ab06e142bec09 /libavfilter/vf_framepack.c
parent12acbcb7a28fc96760b3387c3360fc867434b76c (diff)
downloadffmpeg-492f64de0820238b9978827283fa4abbad31f297.tar.gz
avfilter/vf_framepack: remove not needed calls and add newline to log
Diffstat (limited to 'libavfilter/vf_framepack.c')
-rw-r--r--libavfilter/vf_framepack.c4
1 files changed, 1 insertions, 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;