Set FLI/FLC Animation palette opaque.

This commit is contained in:
Carl Eugen Hoyos 2011-11-12 20:09:56 +01:00
parent c0be4ea0f2
commit 4e8078e6a8
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ static int flic_decode_frame_8BPP(AVCodecContext *avctx,
r = buf[stream_ptr++] << color_shift;
g = buf[stream_ptr++] << color_shift;
b = buf[stream_ptr++] << color_shift;
entry = (r << 16) | (g << 8) | b;
entry = 0xFF << 24 | r << 16 | g << 8 | b;
if (s->palette[palette_ptr] != entry)
s->new_palette = 1;
s->palette[palette_ptr++] = entry;