History

avfilter/vf_bm3d: Remove always-false format check

This filter uses ff_set_common_formats_from_list().

Andreas Rheinhardt committed 5 years ago

Commit 9cffffd1 parent ef09bd61 file · +0 −4Browse files

Unified · Split

libavfilter/vf_bm3d.c+0−4
@@ -968,10 +968,6 @@ static int config_output(AVFilterLink *outlink) · 967 unmodified lines
968 if (s->ref) {968 if (s->ref) {
969 ref = ctx->inputs[1];969 ref = ctx->inputs[1];
970 970
971 if (src->format != ref->format) {
972 av_log(ctx, AV_LOG_ERROR, "inputs must be of same pixel format\n");
973 return AVERROR(EINVAL);
974 }
975 if (src->w != ref->w ||971 if (src->w != ref->w ||
976 src->h != ref->h) {972 src->h != ref->h) {
977 av_log(ctx, AV_LOG_ERROR, "First input link %s parameters "973 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