summaryrefslogtreecommitdiffstats
path: root/video/mp_image_pool.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-17 18:19:57 +0100
committerwm4 <wm4@nowhere>2014-03-17 18:19:57 +0100
commit5ed24862c01b217b4db0b04d74f29bad9bc80569 (patch)
treeafb9133ac23119c3aceabb1cfb1f2b7e8ee57175 /video/mp_image_pool.c
parent6aa2d1f12073c65a30a0b3a8c6d7191165ca0286 (diff)
downloadmpv-5ed24862c01b217b4db0b04d74f29bad9bc80569.tar.bz2
mpv-5ed24862c01b217b4db0b04d74f29bad9bc80569.tar.xz
video: change image format from unsigned int to int in some places
Image formats used to be FourCCs, so unsigned int was better. But now it's annoying and the only difference is that unsigned int is more to type than int.
Diffstat (limited to 'video/mp_image_pool.c')
-rw-r--r--video/mp_image_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/mp_image_pool.c b/video/mp_image_pool.c
index 07cbc94e45..6b907706c5 100644
--- a/video/mp_image_pool.c
+++ b/video/mp_image_pool.c
@@ -106,7 +106,7 @@ static void unref_image(void *ptr)
// mp_image_alloc() is that there is a transparent mechanism to recycle image
// data allocations through this pool.
// The image can be free'd with talloc_free().
-struct mp_image *mp_image_pool_get(struct mp_image_pool *pool, unsigned int fmt,
+struct mp_image *mp_image_pool_get(struct mp_image_pool *pool, int fmt,
int w, int h)
{
struct mp_image *new = NULL;