ffmpeg | branch: master | Clément Bœsch <u...@pkh.me> | Tue Jul 26 21:22:22 
2016 +0200| [c6e900e9258ab51714ae02136f6bbbb018277303] | committer: Clément 
Bœsch

lavfi/curves: fix meaningless const int returned value

Spotted-by: James Almer <jamr...@gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c6e900e9258ab51714ae02136f6bbbb018277303
---

 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 64e4fa4..fef9a0e 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);                          \
 }

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to