summaryrefslogtreecommitdiff
path: root/libavcodec/huffyuvencdsp.c
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-10-19 02:12:28 +0100
committerTimothy Gu <timothygu99@gmail.com>2015-10-19 16:57:33 -0700
commit068e6cb73205d08ed76befd43dbd8b5a17ff3b22 (patch)
treeb2ade813f349cbd6d29bebdf54b766899e03c589 /libavcodec/huffyuvencdsp.c
parenta079cbf458fc5718dfdd396170fcfd9a5a923bba (diff)
downloadffmpeg-068e6cb73205d08ed76befd43dbd8b5a17ff3b22.tar.gz
huffyuvencdsp: Use intptr_t for width
It is done this way in huffyuvdsp as well.
Diffstat (limited to 'libavcodec/huffyuvencdsp.c')
-rw-r--r--libavcodec/huffyuvencdsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/huffyuvencdsp.c b/libavcodec/huffyuvencdsp.c
index 95fcc19582..fdcd0b06aa 100644
--- a/libavcodec/huffyuvencdsp.c
+++ b/libavcodec/huffyuvencdsp.c
@@ -25,7 +25,7 @@
#define pb_7f (~0UL / 255 * 0x7f)
#define pb_80 (~0UL / 255 * 0x80)
-static void diff_bytes_c(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int w)
+static void diff_bytes_c(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, intptr_t w)
{
long i;
@@ -54,7 +54,7 @@ static void diff_bytes_c(uint8_t *dst, const uint8_t *src1, const uint8_t *src2,
}
static void sub_hfyu_median_pred_c(uint8_t *dst, const uint8_t *src1,
- const uint8_t *src2, int w,
+ const uint8_t *src2, intptr_t w,
int *left, int *left_top)
{
int i;