summaryrefslogtreecommitdiff
path: root/libavutil/hwcontext_d3d11va.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_d3d11va.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_d3d11va.c')
-rw-r--r--libavutil/hwcontext_d3d11va.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/hwcontext_d3d11va.c b/libavutil/hwcontext_d3d11va.c
index c8ae58f908..2a3549ebd8 100644
--- a/libavutil/hwcontext_d3d11va.c
+++ b/libavutil/hwcontext_d3d11va.c
@@ -202,7 +202,7 @@ static AVBufferRef *d3d11va_alloc_single(AVHWFramesContext *ctx)
return wrap_texture_buf(tex, 0);
}
-static AVBufferRef *d3d11va_pool_alloc(void *opaque, int size)
+static AVBufferRef *d3d11va_pool_alloc(void *opaque, buffer_size_t size)
{
AVHWFramesContext *ctx = (AVHWFramesContext*)opaque;
D3D11VAFramesContext *s = ctx->internal->priv;