diff options
Diffstat (limited to 'video/mp_image.c')
-rw-r--r-- | video/mp_image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/mp_image.c b/video/mp_image.c index 8b79489f31..67d7168bf1 100644 --- a/video/mp_image.c +++ b/video/mp_image.c @@ -149,7 +149,7 @@ static void mp_image_alloc_planes(struct mp_image *mpi) } } -void mp_image_setfmt(struct mp_image *mpi, unsigned int out_fmt) +void mp_image_setfmt(struct mp_image *mpi, int out_fmt) { struct mp_imgfmt_desc fmt = mp_imgfmt_get_desc(out_fmt); mpi->fmt = fmt; @@ -195,7 +195,7 @@ void mp_image_set_display_size(struct mp_image *mpi, int dw, int dh) mpi->display_h = dh; } -struct mp_image *mp_image_alloc(unsigned int imgfmt, int w, int h) +struct mp_image *mp_image_alloc(int imgfmt, int w, int h) { struct mp_image *mpi = talloc_zero(NULL, struct mp_image); talloc_set_destructor(mpi, mp_image_destructor); |