| @@ -23,6 +23,7 @@ · 22 unmodified lines |
| 23 | 23 | |
| 24 | 24 | #include "libavutil/buffer.h" |
| 25 | 25 | #include "libavutil/frame.h" |
| 26 | +#include "libavutil/internal.h" |
| 26 | 27 | |
| 27 | 28 | /** |
| 28 | 29 | * Frame pool. This structure is opaque and not meant to be accessed |
| @@ -43,7 +44,7 @@ typedef struct FFFramePool FFFramePool; · 14 unmodified lines |
| 43 | 44 | * @param align buffers alignement of each frame in this pool |
| 44 | 45 | * @return newly created video frame pool on success, NULL on error. |
| 45 | 46 | */ |
| 46 | | −FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(int size), |
| 47 | +FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(buffer_size_t size), |
| 47 | 48 | int width, |
| 48 | 49 | int height, |
| 49 | 50 | enum AVPixelFormat format, |
| @@ -61,7 +62,7 @@ FFFramePool *ff_frame_pool_video_init(AVBufferRef* (*alloc)(int size), · 11 unmodified lines |
| 61 | 62 | * @param align buffers alignement of each frame in this pool |
| 62 | 63 | * @return newly created audio frame pool on success, NULL on error. |
| 63 | 64 | */ |
| 64 | | −FFFramePool *ff_frame_pool_audio_init(AVBufferRef* (*alloc)(int size), |
| 65 | +FFFramePool *ff_frame_pool_audio_init(AVBufferRef* (*alloc)(buffer_size_t size), |
| 65 | 66 | int channels, |
| 66 | 67 | int samples, |
| 67 | 68 | enum AVSampleFormat format, |