diff options
Diffstat (limited to 'video/mp_image_pool.h')
-rw-r--r-- | video/mp_image_pool.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/video/mp_image_pool.h b/video/mp_image_pool.h index d9ab2ee9e1..c2307da887 100644 --- a/video/mp_image_pool.h +++ b/video/mp_image_pool.h @@ -1,6 +1,8 @@ #ifndef MPV_MP_IMAGE_POOL_H #define MPV_MP_IMAGE_POOL_H +#include <stdbool.h> + struct mp_image_pool; struct mp_image_pool *mp_image_pool_new(int max_count); @@ -19,7 +21,7 @@ void mp_image_pool_set_allocator(struct mp_image_pool *pool, struct mp_image *mp_image_pool_new_copy(struct mp_image_pool *pool, struct mp_image *img); -void mp_image_pool_make_writeable(struct mp_image_pool *pool, +bool mp_image_pool_make_writeable(struct mp_image_pool *pool, struct mp_image *img); #endif |