ffmpeg | branch: master | Matthew Fearnley <matthew.w.fearn...@gmail.com> | Tue Mar 26 19:44:23 2019 +0000| [5dcc63c1d2d99640f28b5547f26685fc3a3bfadf] | committer: Tomas Härdin
libavcodec/zmbv: use PTRDIFF_SPECIFIER for `src - c->decomp_buf`. Other bit depths saw this change in ced0d6c14d, but this instance was presumably missed because of the #ifdef block. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5dcc63c1d2d99640f28b5547f26685fc3a3bfadf --- libavcodec/zmbv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c index e07009d0fb..71ec2cd424 100644 --- a/libavcodec/zmbv.c +++ b/libavcodec/zmbv.c @@ -303,7 +303,7 @@ static int zmbv_decode_xor_24(ZmbvContext *c) prev += stride * c->bh; } if (src - c->decomp_buf != c->decomp_len) - av_log(c->avctx, AV_LOG_ERROR, "Used %i of %i bytes\n", + av_log(c->avctx, AV_LOG_ERROR, "Used %"PTRDIFF_SPECIFIER" of %i bytes\n", src-c->decomp_buf, c->decomp_len); return 0; } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".