From 5ed24862c01b217b4db0b04d74f29bad9bc80569 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 17 Mar 2014 18:19:57 +0100 Subject: 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. --- video/mp_image.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video/mp_image.h') diff --git a/video/mp_image.h b/video/mp_image.h index c882a59caa..1e2933170a 100644 --- a/video/mp_image.h +++ b/video/mp_image.h @@ -109,7 +109,7 @@ typedef struct mp_image { void* priv; } mp_image_t; -struct mp_image *mp_image_alloc(unsigned int fmt, int w, int h); +struct mp_image *mp_image_alloc(int fmt, int w, int h); void mp_image_copy(struct mp_image *dmpi, struct mp_image *mpi); void mp_image_copy_attributes(struct mp_image *dmpi, struct mp_image *mpi); struct mp_image *mp_image_new_copy(struct mp_image *img); @@ -127,7 +127,7 @@ void mp_image_vflip(struct mp_image *img); void mp_image_set_size(struct mp_image *mpi, int w, int h); void mp_image_set_display_size(struct mp_image *mpi, int dw, int dh); -void mp_image_setfmt(mp_image_t* mpi,unsigned int out_fmt); +void mp_image_setfmt(mp_image_t* mpi, int out_fmt); void mp_image_steal_data(struct mp_image *dst, struct mp_image *src); struct mp_image *mp_image_new_custom_ref(struct mp_image *img, void *arg, -- cgit v1.2.3