History

avfilter/vf_convolve: Remove always-false format check

These filters use ff_set_common_formats_from_list().

Andreas Rheinhardt committed 5 years ago

Commit 97454351 parent 9cffffd1 file · +0 −4Browse files

Unified · Split

libavfilter/vf_convolve.c+0−4
@@ -162,10 +162,6 @@ static int config_input_impulse(AVFilterLink *inlink) · 161 unmodified lines
162162 av_log(ctx, AV_LOG_ERROR, "Width and height of input videos must be same.\n");
163163 return AVERROR(EINVAL);
164164 }
165− if (ctx->inputs[0]->format != ctx->inputs[1]->format) {
166− av_log(ctx, AV_LOG_ERROR, "Inputs must be of same pixel format.\n");
167− return AVERROR(EINVAL);
168− }
169165
170166 return 0;
171167 }

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