summaryrefslogtreecommitdiff
path: root/libavutil/hwcontext_cuda.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-03-06 13:58:26 -0300
committerJames Almer <jamrial@gmail.com>2021-03-10 20:26:37 -0300
commite36eb940484b8b8ef5f3e7542d12240e24839fcf (patch)
tree862f3d63ce07f3f785c067f6d287eae0c3195ec7 /libavutil/hwcontext_cuda.c
parent5d9af1670ef2be16722f2ce8c9d8365bfbcaca23 (diff)
downloadffmpeg-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_cuda.c')
-rw-r--r--libavutil/hwcontext_cuda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/hwcontext_cuda.c b/libavutil/hwcontext_cuda.c
index 58ffc81378..3773cd9eb8 100644
--- a/libavutil/hwcontext_cuda.c
+++ b/libavutil/hwcontext_cuda.c
@@ -93,7 +93,7 @@ static void cuda_buffer_free(void *opaque, uint8_t *data)
CHECK_CU(cu->cuCtxPopCurrent(&dummy));
}
-static AVBufferRef *cuda_pool_alloc(void *opaque, int size)
+static AVBufferRef *cuda_pool_alloc(void *opaque, buffer_size_t size)
{
AVHWFramesContext *ctx = opaque;
AVHWDeviceContext *device_ctx = ctx->device_ctx;