lavfi/curves: fix meaningless const int returned value
authorClément Bœsch <u@pkh.me>
Tue, 26 Jul 2016 19:22:22 +0000 (21:22 +0200)
committerClément Bœsch <u@pkh.me>
Tue, 26 Jul 2016 19:22:27 +0000 (21:22 +0200)
Spotted-by: James Almer <jamrial@gmail.com>
libavfilter/vf_curves.c

index 64e4fa4..fef9a0e 100644 (file)
@@ -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);                          \
 }