diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:16:43 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-11-12 20:16:43 +0100 |
commit | 7cd906c1797a98de591aa095b619e0b12c282c2f (patch) | |
tree | d277cd6e27b61c207ef56fa098fbe2a1da31f9a3 /libavcodec | |
parent | c99cd3e2e2b9ae56472c82e1fb12e9d104d36904 (diff) | |
download | ffmpeg-7cd906c1797a98de591aa095b619e0b12c282c2f.tar.gz |
Set Smacker palette opaque.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/smacker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c index 8345b7f8a0..19bfab4ffd 100644 --- a/libavcodec/smacker.c +++ b/libavcodec/smacker.c @@ -386,7 +386,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac buf++; for(i = 0; i < 256; i++) - *pal++ = bytestream_get_be24(&buf); + *pal++ = 0xFF << 24 | bytestream_get_be24(&buf); buf_size -= 769; last_reset(smk->mmap_tbl, smk->mmap_last); |