From 3129f3bd0f03f561589e5aa7a86027f8bb8c2c73 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 30 Sep 2006 23:49:09 +0000 Subject: [PATCH] palette (if we memcpy it into AVFrame) must be uint32_t Originally committed as revision 6399 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vqavideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c index 7f0c952..d0e0adf 100644 --- a/libavcodec/vqavideo.c +++ b/libavcodec/vqavideo.c @@ -107,7 +107,7 @@ typedef struct VqaContext { unsigned char *buf; int size; - unsigned int palette[PALETTE_COUNT]; + uint32_t palette[PALETTE_COUNT]; int width; /* width of a frame */ int height; /* height of a frame */ -- 2.7.4