diff options
author | James Almer <jamrial@gmail.com> | 2021-03-06 13:29:37 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-03-10 20:26:36 -0300 |
commit | d8a18c8fc2907004448cb45e704dc82bcd2df528 (patch) | |
tree | 224b56fc77577dc547649eb0acc5fd4a6ac12650 /libavcodec/vaapi_encode.c | |
parent | 42e68fe01587b541c9ced34906b09e3c9c894e74 (diff) | |
download | ffmpeg-d8a18c8fc2907004448cb45e704dc82bcd2df528.tar.gz |
avcodec: use the buffer_size_t typedef where required
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/vaapi_encode.c')
-rw-r--r-- | libavcodec/vaapi_encode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index 518e5b2c00..3c57c07f67 100644 --- a/libavcodec/vaapi_encode.c +++ b/libavcodec/vaapi_encode.c @@ -21,6 +21,7 @@ #include "libavutil/avassert.h" #include "libavutil/common.h" +#include "libavutil/internal.h" #include "libavutil/log.h" #include "libavutil/pixdesc.h" @@ -2234,7 +2235,7 @@ static void vaapi_encode_free_output_buffer(void *opaque, } static AVBufferRef *vaapi_encode_alloc_output_buffer(void *opaque, - int size) + buffer_size_t size) { AVCodecContext *avctx = opaque; VAAPIEncodeContext *ctx = avctx->priv_data; |