History

avfilter/vf_maskedminmax: Remove always-false format check

These filters use ff_set_common_formats_from_list().

Andreas Rheinhardt committed 5 years ago

Commit e2cd1b31 parent 40655211 file · +0 −5Browse files

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

Unified · Split

libavfilter/vf_maskedminmax.c+0−5
@@ -239,11 +239,6 @@ static int config_output(AVFilterLink *outlink) · 238 unmodified lines
239239 FFFrameSyncIn *in;
240240 int ret;
241241
242− if (source->format != f1->format ||
243− source->format != f2->format) {
244− av_log(ctx, AV_LOG_ERROR, "inputs must be of same pixel format\n");
245− return AVERROR(EINVAL);
246− }
247242 if (source->w != f1->w || source->h != f1->h ||
248243 source->w != f2->w || source->h != f2->h) {
249244 av_log(ctx, AV_LOG_ERROR, "First input link %s parameters "

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