diff options
Diffstat (limited to 'video/mp_image_pool.c')
-rw-r--r-- | video/mp_image_pool.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/video/mp_image_pool.c b/video/mp_image_pool.c index 733f2059b4..1ef08b5e2d 100644 --- a/video/mp_image_pool.c +++ b/video/mp_image_pool.c @@ -58,11 +58,10 @@ struct image_flags { bool pool_alive; // the mp_image_pool references this }; -static int image_pool_destructor(void *ptr) +static void image_pool_destructor(void *ptr) { struct mp_image_pool *pool = ptr; mp_image_pool_clear(pool); - return 0; } struct mp_image_pool *mp_image_pool_new(int max_count) |