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

Set Electronic Arts TGV palette opaque.

parent f628134e
......@@ -278,7 +278,7 @@ static int tgv_decode_frame(AVCodecContext *avctx,
pal_count = AV_RL16(&buf[6]);
buf += 12;
for(i=0; i<pal_count && i<AVPALETTE_COUNT && buf_end - buf >= 3; i++) {
s->palette[i] = AV_RB24(buf);
s->palette[i] = 0xFF << 24 | AV_RB24(buf);
buf += 3;
}
}
......
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