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:
parent
e85d38c20a
commit
c6e900e925
@ -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); \
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user