From c6e900e9258ab51714ae02136f6bbbb018277303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Tue, 26 Jul 2016 21:22:22 +0200 Subject: [PATCH] lavfi/curves: fix meaningless const int returned value Spotted-by: James Almer --- libavfilter/vf_curves.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_curves.c b/libavfilter/vf_curves.c index 64e4fa46db..fef9a0efbb 100644 --- a/libavfilter/vf_curves.c +++ b/libavfilter/vf_curves.c @@ -334,8 +334,8 @@ end: } #define DECLARE_INTERPOLATE_FUNC(nbits) \ -static const int interpolate##nbits(void *log_ctx, uint16_t *y, \ - const struct keypoint *points) \ +static int interpolate##nbits(void *log_ctx, uint16_t *y, \ + const struct keypoint *points) \ { \ return interpolate(log_ctx, y, points, nbits); \ }