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.h | |
parent | 4baba6c813b7a1f27370e20fb1a87b05fcb39208 (diff) | |
download | ffmpeg-93f305473f880729d18b5e42067f19d2106cb2e5.tar.gz |
lavc: Convert some remaining strides to ptrdiff_t
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 2fead60244..cb970673ad 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -276,7 +276,7 @@ typedef struct H264Context { /* coded dimensions -- 16 * mb w/h */ int width, height; - int linesize, uvlinesize; + ptrdiff_t linesize, uvlinesize; int chroma_x_shift, chroma_y_shift; int qscale; @@ -349,8 +349,8 @@ typedef struct H264Context { uint32_t *mb2br_xy; int b_stride; // FIXME use s->b4_stride - int mb_linesize; ///< may be equal to s->linesize or s->linesize * 2, for mbaff - int mb_uvlinesize; + ptrdiff_t mb_linesize; ///< may be equal to s->linesize or s->linesize * 2, for mbaff + ptrdiff_t mb_uvlinesize; unsigned current_sps_id; ///< id of the current SPS SPS sps; ///< current sps |