diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-13 02:47:47 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-13 02:47:47 +0100 |
commit | 789da2e9f16d4eeb4d737fdb7beebe9e11f9c695 (patch) | |
tree | 9bda5c9dd6f1716f2d70aa0079687e862b6a548b /libavcodec/dsicinav.c | |
parent | b3c67372a522bfc57d783dfe839a07028d0d8e13 (diff) | |
download | ffmpeg-streaming-789da2e9f16d4eeb4d737fdb7beebe9e11f9c695.zip ffmpeg-streaming-789da2e9f16d4eeb4d737fdb7beebe9e11f9c695.tar.gz |
Set second Delphine Software International CIN palette opaque.
Diffstat (limited to 'libavcodec/dsicinav.c')
-rw-r--r-- | libavcodec/dsicinav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dsicinav.c b/libavcodec/dsicinav.c index 80c9677..3cf32ca 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; } |