X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fframepool.h;h=daab88e4a58fffb0b1e9b3a557b853b2db94eb3c;hb=ef6a9e5e311f09fa8032974fa4d0c1e166a959bb;hp=e5560e4c6e8b8b09be5ab8b74d838556e7c47b17;hpb=64425e005edf3bdd77c34c078c3e74ab5ecef557;p=ffmpeg diff --git a/libavfilter/framepool.h b/libavfilter/framepool.h index e5560e4c6e8..daab88e4a58 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)(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)(size_t size), int channels, int samples, enum AVSampleFormat format,