Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2016-07-26 22:22:22 +0300
committerClément Bœsch <u@pkh.me>2016-07-26 22:22:27 +0300
commitc6e900e9258ab51714ae02136f6bbbb018277303 (patch)
treed7a0a5cd6a0c59a0811500af6dc1924fef8e0165 /libavfilter/vf_curves.c
parente85d38c20a8893cb59d7c86f74481f2497882196 (diff)
lavfi/curves: fix meaningless const int returned value
Spotted-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/vf_curves.c')
-rw-r--r--libavfilter/vf_curves.c4
1 files 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); \
}