]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/hwcontext_cuda.c
avutil/buffer: Switch AVBuffer API to size_t
[ffmpeg] / libavutil / hwcontext_cuda.c
index 3773cd9eb805cde71a8075f93777cab760c4555c..cfdf2d7fd42961559f6ee58eb12686304e8b13db 100644 (file)
@@ -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, buffer_size_t size)
+static AVBufferRef *cuda_pool_alloc(void *opaque, size_t size)
 {
     AVHWFramesContext        *ctx = opaque;
     AVHWDeviceContext *device_ctx = ctx->device_ctx;