lavfi/curves: fix meaningless const int returned value

Spotted-by: James Almer <jamrial@gmail.com>
This commit is contained in:
Clément Bœsch 2016-07-26 21:22:22 +02:00
parent e85d38c20a
commit c6e900e925
1 changed files with 2 additions and 2 deletions

View 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); \
}