projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b74e137
)
libavcodec/zmbv: use PTRDIFF_SPECIFIER for `src - c->decomp_buf`.
author
Matthew Fearnley
<matthew.w.fearnley@gmail.com>
Tue, 26 Mar 2019 19:44:23 +0000
(19:44 +0000)
committer
Tomas Härdin
<tjoppen@acc.umu.se>
Tue, 2 Apr 2019 15:14:15 +0000
(17:14 +0200)
Other bit depths saw this change in
ced0d6c14d
, but this instance was
presumably missed because of the #ifdef block.
libavcodec/zmbv.c
patch
|
blob
|
history
diff --git
a/libavcodec/zmbv.c
b/libavcodec/zmbv.c
index
e07009d
..
71ec2cd
100644
(file)
--- 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;
}