diff options
author | Ronald S. Bultje <rbultje@gmail.com> | 2013-10-13 02:42:42 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-10-15 23:58:20 +0200 |
commit | 93f305473f880729d18b5e42067f19d2106cb2e5 (patch) | |
tree | eb33d1474531f398fbf1391a6d515565f03d94f4 /libavcodec/h264.c | |
parent | 4baba6c813b7a1f27370e20fb1a87b05fcb39208 (diff) | |
download | ffmpeg-93f305473f880729d18b5e42067f19d2106cb2e5.tar.gz |
lavc: Convert some remaining strides to ptrdiff_t
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 5a9ab6a084..68f51a99df 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -875,7 +875,7 @@ static av_always_inline void mc_dir_part(H264Context *h, Picture *pic, const int mx = h->mv_cache[list][scan8[n]][0] + src_x_offset * 8; int my = h->mv_cache[list][scan8[n]][1] + src_y_offset * 8; const int luma_xy = (mx & 3) + ((my & 3) << 2); - int offset = ((mx >> 2) << pixel_shift) + (my >> 2) * h->mb_linesize; + ptrdiff_t offset = ((mx >> 2) << pixel_shift) + (my >> 2) * h->mb_linesize; uint8_t *src_y = pic->f.data[0] + offset; uint8_t *src_cb, *src_cr; int extra_width = 0; |