[FFmpeg-cvslog] lavfi/curves: fix meaningless const int returned value

Clément Bœsch git at videolan.org
Tue Jul 26 22:23:31 EEST 2016


ffmpeg | branch: master | Clément Bœsch <u at 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 <jamrial at 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);                          \
 }



More information about the ffmpeg-cvslog mailing list