History

avfilter/vf_maskedclamp: Remove always-false format check

This filter uses ff_set_common_formats_from_list().

Andreas Rheinhardt committed 5 years ago

Commit 15778cc1 parent 095d88d1 file · +0 −5Browse files

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

Unified · Split

libavfilter/vf_maskedclamp.c+0−5
@@ -230,11 +230,6 @@ static int config_output(AVFilterLink *outlink) · 229 unmodified lines
230 FFFrameSyncIn *in;230 FFFrameSyncIn *in;
231 int ret;231 int ret;
232 232
233 if (base->format != dark->format ||
234 base->format != bright->format) {
235 av_log(ctx, AV_LOG_ERROR, "inputs must be of same pixel format\n");
236 return AVERROR(EINVAL);
237 }
238 if (base->w != dark->w || base->h != dark->h ||233 if (base->w != dark->w || base->h != dark->h ||
239 base->w != bright->w || base->h != bright->h) {234 base->w != bright->w || base->h != bright->h) {
240 av_log(ctx, AV_LOG_ERROR, "First input link %s parameters "235 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