summaryrefslogtreecommitdiff
path: root/libavfilter/framepool.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-03-06 14:16:45 -0300
committerJames Almer <jamrial@gmail.com>2021-03-10 20:26:36 -0300
commit5d9af1670ef2be16722f2ce8c9d8365bfbcaca23 (patch)
tree1984cbeb8f853bb7a944a43de627ccf7465d389b /libavfilter/framepool.c
parentf7abb53cb427515faac582f114ab97cbbd590280 (diff)
avfilter: use the buffer_size_t typedef where required
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/framepool.c')
-rw-r--r--libavfilter/framepool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/framepool.c b/libavfilter/framepool.c
index 3b178cebb8..dab8891524 100644
--- a/libavfilter/framepool.c
+++ b/libavfilter/framepool.c
@@ -48,7 +48,7 @@ struct FFFramePool {
};
-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,
@@ -116,7 +116,7 @@ fail:
return NULL;
}
-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 nb_samples,
enum AVSampleFormat format,