X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Fhwcontext_opencl.c;h=41fac432297ca806d95501656bf725f8a603af05;hb=ef6a9e5e311f09fa8032974fa4d0c1e166a959bb;hp=ee814602b28caf540bb2d586885c6fb0e980f4a4;hpb=985c0dac674846721ec8ff23344c16ac7d1c9a1e;p=ffmpeg diff --git a/libavutil/hwcontext_opencl.c b/libavutil/hwcontext_opencl.c index ee814602b28..41fac432297 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;