]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/a64multienc.c
avdevice/decklink_dec: fix build with older SDK
[ffmpeg] / libavcodec / a64multienc.c
index 91aac0933f14e1e2c9504737bd66c6e56d5ac07c..38f25020f5e27c22d74b36ad8ff83ea9d5c8da36 100644 (file)
@@ -60,11 +60,11 @@ typedef struct A64Context {
 } A64Context;
 
 /* gray gradient */
-static const int mc_colors[5]={0x0,0xb,0xc,0xf,0x1};
+static const uint8_t mc_colors[5]={0x0,0xb,0xc,0xf,0x1};
 
 /* other possible gradients - to be tested */
-//static const int mc_colors[5]={0x0,0x8,0xa,0xf,0x7};
-//static const int mc_colors[5]={0x0,0x9,0x8,0xa,0x3};
+//static const uint8_t mc_colors[5]={0x0,0x8,0xa,0xf,0x7};
+//static const uint8_t mc_colors[5]={0x0,0x9,0x8,0xa,0x3};
 
 static void to_meta_with_crop(AVCodecContext *avctx,
                               const AVFrame *p, int *dest)