]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/framepool.h
avutil/buffer: Switch AVBuffer API to size_t
[ffmpeg] / libavfilter / framepool.h
index 28857a4a162fbc8c43c0854ea7596690ec315211..daab88e4a58fffb0b1e9b3a557b853b2db94eb3c 100644 (file)
@@ -44,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)(buffer_size_t size),
+FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(size_t size),
                                       int width,
                                       int height,
                                       enum AVPixelFormat format,
@@ -62,7 +62,7 @@ FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(buffer_size_t 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)(buffer_size_t size),
+FFFramePool *ff_frame_pool_audio_init(AVBufferRef* (*alloc)(size_t size),
                                       int channels,
                                       int samples,
                                       enum AVSampleFormat format,