aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Fearnley <matthew.w.fearnley@gmail.com>2019-03-26 19:44:23 +0000
committerTomas Härdin <tjoppen@acc.umu.se>2019-04-02 17:14:15 +0200
commit5dcc63c1d2d99640f28b5547f26685fc3a3bfadf (patch)
treeb639d20ea862f3271052e672e039fe5b3f12b57d
parentb74e13711ff6998619371a3e0ac14408d9c7acba (diff)
downloadffmpeg-5dcc63c1d2d99640f28b5547f26685fc3a3bfadf.tar.gz
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.
-rw-r--r--libavcodec/zmbv.c2
1 files changed, 1 insertions, 1 deletions
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;
}