History

avfilter/vf_blend: Remove always-false format check

This filter uses ff_set_common_formats_from_list().

Andreas Rheinhardt committed 5 years ago

Commit ef09bd61 parent 910215b1 file · +0 −4Browse files

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

Unified · Split

libavfilter/vf_blend.c+0−4
@@ -821,10 +821,6 @@ static int config_output(AVFilterLink *outlink) · 820 unmodified lines
821821 if (!s->tblend) {
822822 AVFilterLink *bottomlink = ctx->inputs[BOTTOM];
823823
824− if (toplink->format != bottomlink->format) {
825− av_log(ctx, AV_LOG_ERROR, "inputs must be of same pixel format\n");
826− return AVERROR(EINVAL);
827− }
828824 if (toplink->w != bottomlink->w || toplink->h != bottomlink->h) {
829825 av_log(ctx, AV_LOG_ERROR, "First input link %s parameters "
830826 "(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