diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 23:15:56 +0400 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 23:15:56 +0400 |
commit | c99cd3e2e2b9ae56472c82e1fb12e9d104d36904 (patch) | |
tree | 3e0cc8216838a7fa131297ee54f05d132e07aaf3 /libavcodec | |
parent | 9f9a1f424ed4db992f8a773b2eaad4941de3e9e6 (diff) |
Set RL2 palette opaque.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/rl2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rl2.c b/libavcodec/rl2.c index 7d1cf16aee..0090bf3093 100644 --- a/libavcodec/rl2.c +++ b/libavcodec/rl2.c @@ -152,7 +152,7 @@ static av_cold int rl2_decode_init(AVCodecContext *avctx) /** initialize palette */ for(i=0;i<AVPALETTE_COUNT;i++) - s->palette[i] = AV_RB24(&avctx->extradata[6 + i * 3]); + s->palette[i] = 0xFF << 24 | AV_RB24(&avctx->extradata[6 + i * 3]); /** decode background frame if present */ back_size = avctx->extradata_size - EXTRADATA1_SIZE; |