diff options
author | James Almer <jamrial@gmail.com> | 2021-03-06 14:16:45 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-03-10 20:26:36 -0300 |
commit | 5d9af1670ef2be16722f2ce8c9d8365bfbcaca23 (patch) | |
tree | 1984cbeb8f853bb7a944a43de627ccf7465d389b /libavfilter/framepool.h | |
parent | f7abb53cb427515faac582f114ab97cbbd590280 (diff) | |
download | ffmpeg-5d9af1670ef2be16722f2ce8c9d8365bfbcaca23.tar.gz |
avfilter: use the buffer_size_t typedef where required
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/framepool.h')
-rw-r--r-- | libavfilter/framepool.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavfilter/framepool.h b/libavfilter/framepool.h index e5560e4c6e..28857a4a16 100644 --- a/libavfilter/framepool.h +++ b/libavfilter/framepool.h @@ -23,6 +23,7 @@ #include "libavutil/buffer.h" #include "libavutil/frame.h" +#include "libavutil/internal.h" /** * Frame pool. This structure is opaque and not meant to be accessed @@ -43,7 +44,7 @@ typedef struct FFFramePool FFFramePool; * @param align buffers alignement of each frame in this pool * @return newly created video frame pool on success, NULL on error. */ -FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(int size), +FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(buffer_size_t size), int width, int height, enum AVPixelFormat format, @@ -61,7 +62,7 @@ FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(int size), * @param align buffers alignement of each frame in this pool * @return newly created audio frame pool on success, NULL on error. */ -FFFramePool *ff_frame_pool_audio_init(AVBufferRef* (*alloc)(int size), +FFFramePool *ff_frame_pool_audio_init(AVBufferRef* (*alloc)(buffer_size_t size), int channels, int samples, enum AVSampleFormat format, |