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/mpegvideo_enc.c | |
parent | 4baba6c813b7a1f27370e20fb1a87b05fcb39208 (diff) | |
download | ffmpeg-93f305473f880729d18b5e42067f19d2106cb2e5.tar.gz |
lavc: Convert some remaining strides to ptrdiff_t
Diffstat (limited to 'libavcodec/mpegvideo_enc.c')
-rw-r--r-- | libavcodec/mpegvideo_enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 2bafedd338..c2459960af 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -877,7 +877,7 @@ static int load_input_picture(MpegEncContext *s, const AVFrame *pic_arg) if (pic_arg->linesize[2] != s->uvlinesize) direct = 0; - av_dlog(s->avctx, "%d %d %d %d\n", pic_arg->linesize[0], + av_dlog(s->avctx, "%d %d %td %td\n", pic_arg->linesize[0], pic_arg->linesize[1], s->linesize, s->uvlinesize); if (direct) { @@ -1641,7 +1641,7 @@ static av_always_inline void encode_mb_internal(MpegEncContext *s, int skip_dct[8]; int dct_offset = s->linesize * 8; // default for progressive frames uint8_t *ptr_y, *ptr_cb, *ptr_cr; - int wrap_y, wrap_c; + ptrdiff_t wrap_y, wrap_c; for (i = 0; i < mb_block_count; i++) skip_dct[i] = s->skipdct; |