diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-02-06 13:16:31 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-06 13:22:19 +0100 |
commit | 0ddca7d416cc8b80d9943405d6d0bb39bc2dec06 (patch) | |
tree | 78c1a6834e65ea7376353819338482c5eea83b2e /libavcodec/snow.c | |
parent | ede45c4e1da8bd2fefc89ea63e57a49e6c0a3e19 (diff) | |
download | ffmpeg-0ddca7d416cc8b80d9943405d6d0bb39bc2dec06.tar.gz |
dsputil: fixup half a dozen bugs with ptrdiff vs int linesize
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/snow.c')
-rw-r--r-- | libavcodec/snow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c index 643747d8b3..7a5c1c04ca 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -378,7 +378,7 @@ void ff_snow_pred_block(SnowContext *s, uint8_t *dst, uint8_t *tmp, int stride, } #define mca(dx,dy,b_w)\ -static void mc_block_hpel ## dx ## dy ## b_w(uint8_t *dst, const uint8_t *src, int stride, int h){\ +static void mc_block_hpel ## dx ## dy ## b_w(uint8_t *dst, const uint8_t *src, ptrdiff_t stride, int h){\ av_assert2(h==b_w);\ mc_block(NULL, dst, src-(HTAPS_MAX/2-1)-(HTAPS_MAX/2-1)*stride, stride, b_w, b_w, dx, dy);\ } |