History

avfilter/vf_hysteresis: Remove always-false format check

This filter uses ff_set_common_formats_from_list().

Andreas Rheinhardt committed 5 years ago

Commit 0d3841b1 parent bd98d121 file · +0 −4Browse files

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

Unified · Split

libavfilter/vf_hysteresis.c+0−4
@@ -295,10 +295,6 @@ static int config_output(AVFilterLink *outlink) · 294 unmodified lines
295295 FFFrameSyncIn *in;
296296 int ret;
297297
298− if (base->format != alt->format) {
299− av_log(ctx, AV_LOG_ERROR, "inputs must be of same pixel format\n");
300− return AVERROR(EINVAL);
301− }
302298 if (base->w != alt->w || base->h != alt->h) {
303299 av_log(ctx, AV_LOG_ERROR, "First input link %s parameters "
304300 "(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