1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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