Commit 5dcc63c1 authored by Matthew Fearnley's avatar Matthew Fearnley Committed by Tomas Härdin

libavcodec/zmbv: use PTRDIFF_SPECIFIER for `src - c->decomp_buf`.

Other bit depths saw this change in ced0d6c1, but this instance was
presumably missed because of the #ifdef block.
parent b74e1371
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment