diff options
author | James Almer <jamrial@gmail.com> | 2019-02-20 19:40:09 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-02-20 19:40:09 -0300 |
commit | 72458b3f0828eb4a821b77fbf4cc92f069818f6b (patch) | |
tree | bf800b841289433d920728a935cbe7cad2676ff4 /libavcodec | |
parent | 7b9ca44cbca4fcd2ac3a5e50f85851f8f0927103 (diff) | |
download | ffmpeg-72458b3f0828eb4a821b77fbf4cc92f069818f6b.tar.gz |
ppc/h264dsp: change loop filter stride argument to ptrdiff_t
This was missed in d5d699ab6e6f8a8290748d107416fd5c19757a1b
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ppc/h264dsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ppc/h264dsp.c b/libavcodec/ppc/h264dsp.c index f510544dda..d8a3baa34d 100644 --- a/libavcodec/ppc/h264dsp.c +++ b/libavcodec/ppc/h264dsp.c @@ -625,7 +625,7 @@ static inline vec_u8 h264_deblock_q1(register vec_u8 p0, q1 = newq1; \ } -static void h264_v_loop_filter_luma_altivec(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0) { +static void h264_v_loop_filter_luma_altivec(uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0) { if ((tc0[0] & tc0[1] & tc0[2] & tc0[3]) >= 0) { register vec_u8 p2 = vec_ld(-3*stride, pix); @@ -642,7 +642,7 @@ static void h264_v_loop_filter_luma_altivec(uint8_t *pix, int stride, int alpha, } } -static void h264_h_loop_filter_luma_altivec(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0) { +static void h264_h_loop_filter_luma_altivec(uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0) { register vec_u8 line0, line1, line2, line3, line4, line5; if ((tc0[0] & tc0[1] & tc0[2] & tc0[3]) < 0) |