mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 14:15:29 +01:00
avutil/buffer: Switch AVBuffer API to size_t
Announced in 14040a1d91.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
committed by
James Almer
parent
985c0dac67
commit
ef6a9e5e31
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user