diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:09:56 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:09:56 +0100 |
commit | 4e8078e6a8808b03bab29c4c4410422aceb380ab (patch) | |
tree | d3031f05bc16752be2fd741e9907ebaf1ec9d7a8 /libavcodec/flicvideo.c | |
parent | c0be4ea0f2572fa70a07b2f068fa26551803d149 (diff) | |
download | ffmpeg-4e8078e6a8808b03bab29c4c4410422aceb380ab.tar.gz |
Set FLI/FLC Animation palette opaque.
Diffstat (limited to 'libavcodec/flicvideo.c')
-rw-r--r-- | libavcodec/flicvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flicvideo.c b/libavcodec/flicvideo.c index 2374d54b11..e5367d0c01 100644 --- a/libavcodec/flicvideo.c +++ b/libavcodec/flicvideo.c @@ -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; |