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_d3d11va.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_d3d11va.c')
-rw-r--r-- | libavutil/hwcontext_d3d11va.c | 2 |
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; |