summaryrefslogtreecommitdiff
path: root/libavfilter/vf_bm3d.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-21 06:09:26 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-21 17:56:37 +0200
commit9cffffd7958b6bdfedbf4895b85b8557b714b9a8 (patch)
tree9067832352e9d9ab05940ef4b90a096e46df3127 /libavfilter/vf_bm3d.c
parentef09bd65e2c8badc5c5c8d8e842223047f4aa0d1 (diff)
avfilter/vf_bm3d: Remove always-false format check
This filter uses ff_set_common_formats_from_list(). Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_bm3d.c')
-rw-r--r--libavfilter/vf_bm3d.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavfilter/vf_bm3d.c b/libavfilter/vf_bm3d.c
index 198fc43268..007f8bbf8c 100644
--- a/libavfilter/vf_bm3d.c
+++ b/libavfilter/vf_bm3d.c
@@ -968,10 +968,6 @@ static int config_output(AVFilterLink *outlink)
if (s->ref) {
ref = ctx->inputs[1];
- if (src->format != ref->format) {
- av_log(ctx, AV_LOG_ERROR, "inputs must be of same pixel format\n");
- return AVERROR(EINVAL);
- }
if (src->w != ref->w ||
src->h != ref->h) {
av_log(ctx, AV_LOG_ERROR, "First input link %s parameters "