Commit 7cd906c1 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Set Smacker palette opaque.

parent c99cd3e2
...@@ -386,7 +386,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac ...@@ -386,7 +386,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
buf++; buf++;
for(i = 0; i < 256; i++) for(i = 0; i < 256; i++)
*pal++ = bytestream_get_be24(&buf); *pal++ = 0xFF << 24 | bytestream_get_be24(&buf);
buf_size -= 769; buf_size -= 769;
last_reset(smk->mmap_tbl, smk->mmap_last); last_reset(smk->mmap_tbl, smk->mmap_last);
......
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