summaryrefslogtreecommitdiff
path: root/libavcodec/dsicinav.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-11-13 02:47:47 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-11-13 02:47:47 +0100
commit789da2e9f16d4eeb4d737fdb7beebe9e11f9c695 (patch)
tree9bda5c9dd6f1716f2d70aa0079687e862b6a548b /libavcodec/dsicinav.c
parentb3c67372a522bfc57d783dfe839a07028d0d8e13 (diff)
Set second Delphine Software International CIN palette opaque.
Diffstat (limited to 'libavcodec/dsicinav.c')
-rw-r--r--libavcodec/dsicinav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dsicinav.c b/libavcodec/dsicinav.c
index 80c9677de3..3cf32ca32b 100644
--- a/libavcodec/dsicinav.c
+++ b/libavcodec/dsicinav.c
@@ -228,7 +228,7 @@ static int cinvideo_decode_frame(AVCodecContext *avctx,
}
} else {
for (i = 0; i < palette_colors_count; ++i) {
- cin->palette[buf[0]] = AV_RL24(buf+1);
+ cin->palette[buf[0]] = 0xFF << 24 | AV_RL24(buf+1);
buf += 4;
bitmap_frame_size -= 4;
}