diff options
author | James Almer <jamrial@gmail.com> | 2021-03-06 13:58:26 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-03-10 20:26:37 -0300 |
commit | e36eb940484b8b8ef5f3e7542d12240e24839fcf (patch) | |
tree | 862f3d63ce07f3f785c067f6d287eae0c3195ec7 /libavutil/hwcontext_opencl.c | |
parent | 5d9af1670ef2be16722f2ce8c9d8365bfbcaca23 (diff) | |
download | ffmpeg-e36eb940484b8b8ef5f3e7542d12240e24839fcf.tar.gz |
avutil: use the buffer_size_t typedef where required
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/hwcontext_opencl.c')
-rw-r--r-- | libavutil/hwcontext_opencl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/hwcontext_opencl.c b/libavutil/hwcontext_opencl.c index cd8638abbb..ee814602b2 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, int size) +static AVBufferRef *opencl_pool_alloc(void *opaque, buffer_size_t size) { AVHWFramesContext *hwfc = opaque; AVOpenCLDeviceContext *hwctx = hwfc->device_ctx->hwctx; |