Commit c99cd3e2 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Set RL2 palette opaque.

parent 9f9a1f42
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment