path: root/video/mp_image.h
diff options
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.h
parent6aa2d1f12073c65a30a0b3a8c6d7191165ca0286 (diff)
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.h')
1 files changed, 2 insertions, 2 deletions
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,