Mercurial > mplayer.hg
diff gui/util/bitmap.h @ 36996:a17b55521dd2
Don't use data type long.
AVCodecContext's width and height (where this
information comes from) are also just integer.
Additionally, make Image an unsigned char pointer.
author | ib |
---|---|
date | Thu, 27 Mar 2014 19:50:30 +0000 |
parents | a5f7a861a293 |
children |
line wrap: on
line diff
--- a/gui/util/bitmap.h Thu Mar 27 13:43:19 2014 +0000 +++ b/gui/util/bitmap.h Thu Mar 27 19:50:30 2014 +0000 @@ -27,11 +27,11 @@ #define IS_TRANSPARENT(c) ((ALPHA_OPAQUE | (c)) == GUI_TRANSPARENT) typedef struct { - unsigned long Width; - unsigned long Height; + unsigned int Width; + unsigned int Height; unsigned int Bpp; - unsigned long ImageSize; - char *Image; + unsigned int ImageSize; + unsigned char *Image; } guiImage; void bpFree(guiImage *img);