summaryrefslogtreecommitdiff
path: root/libavcodec/cbs_mpeg2.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-12-17 18:03:47 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-12-17 18:05:42 +0100
commit9b79c65ec06f2bbe4f44c615b9df70db23126250 (patch)
treeb3bfd88aec74e7968230c86f5f5db95637ddf07e /libavcodec/cbs_mpeg2.c
parent600c8729e23b380f75252c0f8ecbdcc2e66e2e6a (diff)
downloadffmpeg-9b79c65ec06f2bbe4f44c615b9df70db23126250.tar.gz
lavu/lavc/lavf/lavfi: Do not use type modifier %zu on Windows MSVCRT.
Diffstat (limited to 'libavcodec/cbs_mpeg2.c')
-rw-r--r--libavcodec/cbs_mpeg2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cbs_mpeg2.c b/libavcodec/cbs_mpeg2.c
index 8fb5375e3b..642a9c99b1 100644
--- a/libavcodec/cbs_mpeg2.c
+++ b/libavcodec/cbs_mpeg2.c
@@ -305,7 +305,7 @@ static int cbs_mpeg2_write_unit(CodedBitstreamContext *ctx,
if (err < 0) {
av_log(ctx->log_ctx, AV_LOG_ERROR, "Unable to allocate a "
"sufficiently large write buffer (last attempt "
- "%zu bytes).\n", priv->write_buffer_size);
+ "%"SIZE_SPECIFIER" bytes).\n", priv->write_buffer_size);
return err;
}
}