diff options
author | Marton Balint <cus@passwd.hu> | 2018-04-23 20:46:25 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2018-04-30 21:50:12 +0200 |
commit | e894d958fce6f47cbe1e4a5e3f2c74af47057125 (patch) | |
tree | 8a8d5acf5149329a04d31b92f6c7c940f8806934 /libavcodec | |
parent | c60a824ee87ae3b15ed1cb92b780bec9b642b019 (diff) | |
download | ffmpeg-e894d958fce6f47cbe1e4a5e3f2c74af47057125.tar.gz |
avcodec/anm: fix palette alpha
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/anm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/anm.c b/libavcodec/anm.c index 72684189bb..ab6a3994e9 100644 --- a/libavcodec/anm.c +++ b/libavcodec/anm.c @@ -54,7 +54,7 @@ static av_cold int decode_init(AVCodecContext *avctx) bytestream2_skipu(&s->gb, 16 * 8); for (i = 0; i < 256; i++) - s->palette[i] = bytestream2_get_le32u(&s->gb); + s->palette[i] = (0xFFU << 24) | bytestream2_get_le32u(&s->gb); return 0; } |