History

avfilter/vf_maskedthreshold: Remove always-false format check

This filter uses ff_set_common_formats_from_list().

Andreas Rheinhardt committed 5 years ago

Commit 0fc1abe1 parent e2cd1b31 file · +0 −4Browse files

Unified · Split

libavfilter/vf_maskedthreshold.c+0−4
@@ -208,10 +208,6 @@ static int config_output(AVFilterLink *outlink) · 207 unmodified lines
208 FFFrameSyncIn *in;208 FFFrameSyncIn *in;
209 int ret;209 int ret;
210 210
211 if (source->format != ref->format) {
212 av_log(ctx, AV_LOG_ERROR, "inputs must be of same pixel format\n");
213 return AVERROR(EINVAL);
214 }
215 if (source->w != ref->w || source->h != ref->h) {211 if (source->w != ref->w || source->h != ref->h) {
216 av_log(ctx, AV_LOG_ERROR, "First input link %s parameters "212 av_log(ctx, AV_LOG_ERROR, "First input link %s parameters "
217 "(size %dx%d) do not match the corresponding "213 "(size %dx%d) do not match the corresponding "

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