History

avfilter/vf_vif: Remove always-false format check

This filter uses ff_set_common_formats_from_list().

Andreas Rheinhardt committed 5 years ago

Commit c87d7c81 parent 2a18ee71 file · +0 −4Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_vif.c+0−4
@@ -496,10 +496,6 @@ static int config_input_ref(AVFilterLink *inlink) · 495 unmodified lines
496496 av_log(ctx, AV_LOG_ERROR, "Width and height of input videos must be same.\n");
497497 return AVERROR(EINVAL);
498498 }
499− if (ctx->inputs[0]->format != ctx->inputs[1]->format) {
500− av_log(ctx, AV_LOG_ERROR, "Inputs must be of same pixel format.\n");
501− return AVERROR(EINVAL);
502− }
503499
504500 s->desc = av_pix_fmt_desc_get(inlink->format);
505501 s->width = ctx->inputs[0]->w;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t