summaryrefslogtreecommitdiff
path: root/libavutil/hwcontext_opencl.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 /libavutil/hwcontext_opencl.c
parent600c8729e23b380f75252c0f8ecbdcc2e66e2e6a (diff)
lavu/lavc/lavf/lavfi: Do not use type modifier %zu on Windows MSVCRT.
Diffstat (limited to 'libavutil/hwcontext_opencl.c')
-rw-r--r--libavutil/hwcontext_opencl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/hwcontext_opencl.c b/libavutil/hwcontext_opencl.c
index b00c1b6409..a725a491e2 100644
--- a/libavutil/hwcontext_opencl.c
+++ b/libavutil/hwcontext_opencl.c
@@ -2719,7 +2719,7 @@ static int opencl_map_from_drm_arm(AVHWFramesContext *dst_fc, AVFrame *dst,
&fd, desc->objects[i].size, &cle);
if (!mapping->object_buffers[i]) {
av_log(dst_fc, AV_LOG_ERROR, "Failed to create CL buffer "
- "from object %d (fd %d, size %zu) of DRM frame: %d.\n",
+ "from object %d (fd %d, size %"SIZE_SPECIFIER") of DRM frame: %d.\n",
i, fd, desc->objects[i].size, cle);
err = AVERROR(EIO);
goto fail;