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/vp3.c | |
parent | 4baba6c813b7a1f27370e20fb1a87b05fcb39208 (diff) | |
download | ffmpeg-93f305473f880729d18b5e42067f19d2106cb2e5.tar.gz |
lavc: Convert some remaining strides to ptrdiff_t
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r-- | libavcodec/vp3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index b326a1c60b..467dfd5655 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -1288,7 +1288,7 @@ static void apply_loop_filter(Vp3DecodeContext *s, int plane, int ystart, int ye int width = s->fragment_width[!!plane]; int height = s->fragment_height[!!plane]; int fragment = s->fragment_start [plane] + ystart * width; - int stride = s->current_frame.f->linesize[plane]; + ptrdiff_t stride = s->current_frame.f->linesize[plane]; uint8_t *plane_data = s->current_frame.f->data [plane]; if (!s->flipped_image) stride = -stride; plane_data += s->data_offset[plane] + 8*ystart*stride; @@ -1470,7 +1470,7 @@ static void render_slice(Vp3DecodeContext *s, int slice) uint8_t *output_plane = s->current_frame.f->data [plane] + s->data_offset[plane]; uint8_t * last_plane = s-> last_frame.f->data [plane] + s->data_offset[plane]; uint8_t *golden_plane = s-> golden_frame.f->data [plane] + s->data_offset[plane]; - int stride = s->current_frame.f->linesize[plane]; + ptrdiff_t stride = s->current_frame.f->linesize[plane]; int plane_width = s->width >> (plane && s->chroma_x_shift); int plane_height = s->height >> (plane && s->chroma_y_shift); int8_t (*motion_val)[2] = s->motion_val[!!plane]; |