diff options
author | wm4 <wm4@nowhere> | 2012-10-27 17:59:16 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-28 15:31:32 +0100 |
commit | 1ba8090df7e64885f717133d769f59808c3c8807 (patch) | |
tree | dcd027338201baec4c1fb476cdac41a97359f971 /libmpcodecs | |
parent | d072e857d71150508f308168953753b6c7441009 (diff) | |
download | mpv-1ba8090df7e64885f717133d769f59808c3c8807.tar.bz2 mpv-1ba8090df7e64885f717133d769f59808c3c8807.tar.xz |
mp_image: use uint8_t instead of unsigned char for plane pointers
Purely cosmetic.
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/mp_image.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpcodecs/mp_image.h b/libmpcodecs/mp_image.h index e1cbe7d2cf..91a725f9d6 100644 --- a/libmpcodecs/mp_image.h +++ b/libmpcodecs/mp_image.h @@ -22,6 +22,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <inttypes.h> #include "mp_msg.h" //--------- codec's requirements (filled by the codec/vf) --------- @@ -104,7 +105,7 @@ typedef struct mp_image { unsigned int imgfmt; int width,height; // stored dimensions int w,h; // visible dimensions - unsigned char* planes[MP_MAX_PLANES]; + uint8_t *planes[MP_MAX_PLANES]; int stride[MP_MAX_PLANES]; char * qscale; int qstride; |