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

Unified · Split

libavfilter/vf_blend.c+0−4
@@ -821,10 +821,6 @@ static int config_output(AVFilterLink *outlink) · 820 unmodified lines
821 if (!s->tblend) {821 if (!s->tblend) {
822 AVFilterLink *bottomlink = ctx->inputs[BOTTOM];822 AVFilterLink *bottomlink = ctx->inputs[BOTTOM];
823 823
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 }
828 if (toplink->w != bottomlink->w || toplink->h != bottomlink->h) {824 if (toplink->w != bottomlink->w || toplink->h != bottomlink->h) {
829 av_log(ctx, AV_LOG_ERROR, "First input link %s parameters "825 av_log(ctx, AV_LOG_ERROR, "First input link %s parameters "
830 "(size %dx%d) do not match the corresponding "826 "(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