summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-04-20 15:35:34 +0200
committerAnton Khirnov <anton@khirnov.net>2016-07-25 13:57:00 +0200
commit15d0cb98b8b0896fe56ad0267620c4eb2c4032fd (patch)
tree74a18681e1839e37b2f01a4265320cab80675edb
parent064856bc2240b882f544d6f21e3a9574b8b26a1d (diff)
cfhd: Use natural type to pass to av_clip_uintp2()
-rw-r--r--libavcodec/cfhd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
index 924f4fb055..ca86c74ec9 100644
--- a/libavcodec/cfhd.c
+++ b/libavcodec/cfhd.c
@@ -82,7 +82,7 @@ static inline int dequant_and_decompand(int level, int quantisation)
static inline void filter(int16_t *output, ptrdiff_t out_stride,
int16_t *low, ptrdiff_t low_stride,
int16_t *high, ptrdiff_t high_stride,
- int len, uint8_t clip)
+ int len, int clip)
{
int16_t tmp;
int i;
@@ -129,7 +129,7 @@ static void horiz_filter(int16_t *output, int16_t *low, int16_t *high,
}
static void horiz_filter_clip(int16_t *output, int16_t *low, int16_t *high,
- int width, uint8_t clip)
+ int width, int clip)
{
filter(output, 1, low, 1, high, 1, width, clip);
}