lavfi/curves: fix meaningless const int returned value

Spotted-by: James Almer <jamrial@gmail.com>
pull/228/head
Clément Bœsch 9 years ago
parent e85d38c20a
commit c6e900e925
  1. 4
      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); \
}

Loading…
Cancel
Save