summaryrefslogtreecommitdiff
path: root/libavfilter/vf_neighbor.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_neighbor.c')
-rw-r--r--libavfilter/vf_neighbor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/vf_neighbor.c b/libavfilter/vf_neighbor.c
index c3c7f749fe..7e4f6058d1 100644
--- a/libavfilter/vf_neighbor.c
+++ b/libavfilter/vf_neighbor.c
@@ -49,8 +49,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_GBRP, AV_PIX_FMT_GBRAP, AV_PIX_FMT_GRAY8, AV_PIX_FMT_NONE
};
- ff_set_common_formats(ctx, ff_make_format_list(pix_fmts));
- return 0;
+ return ff_set_common_formats(ctx, ff_make_format_list(pix_fmts));
}
static av_cold void uninit(AVFilterContext *ctx)