From ef6a9e5e311f09fa8032974fa4d0c1e166a959bb Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Wed, 14 Apr 2021 14:59:32 +0200 Subject: avutil/buffer: Switch AVBuffer API to size_t Announced in 14040a1d913794d9a3fd6406a6d8c2f0e37e0062. Signed-off-by: Andreas Rheinhardt Signed-off-by: James Almer --- libavutil/hwcontext_opencl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil/hwcontext_opencl.c') diff --git a/libavutil/hwcontext_opencl.c b/libavutil/hwcontext_opencl.c index ee814602b2..41fac43229 100644 --- a/libavutil/hwcontext_opencl.c +++ b/libavutil/hwcontext_opencl.c @@ -1617,7 +1617,7 @@ static void opencl_pool_free(void *opaque, uint8_t *data) av_free(desc); } -static AVBufferRef *opencl_pool_alloc(void *opaque, buffer_size_t size) +static AVBufferRef *opencl_pool_alloc(void *opaque, size_t size) { AVHWFramesContext *hwfc = opaque; AVOpenCLDeviceContext *hwctx = hwfc->device_ctx->hwctx; -- cgit v1.2.3