aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-11-12 20:06:35 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-11-12 20:06:35 +0100
commitdcbd18c61540329c51a015bb662aab891ddae61f (patch)
tree814d90eda141b1415c8acf49672027362fdbed23 /libavcodec
parente18f70c2d132c239899440cf01a14db23a638c59 (diff)
downloadffmpeg-dcbd18c61540329c51a015bb662aab891ddae61f.tar.gz
Set Delphine Software International CIN palette opaque.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dsicinav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dsicinav.c b/libavcodec/dsicinav.c
index 53d4f90d2e..80c9677de3 100644
--- a/libavcodec/dsicinav.c
+++ b/libavcodec/dsicinav.c
@@ -223,7 +223,7 @@ static int cinvideo_decode_frame(AVCodecContext *avctx,
if (palette_colors_count > 256)
return AVERROR_INVALIDDATA;
for (i = 0; i < palette_colors_count; ++i) {
- cin->palette[i] = bytestream_get_le24(&buf);
+ cin->palette[i] = 0xFF << 24 | bytestream_get_le24(&buf);
bitmap_frame_size -= 3;
}
} else {