avcodec/anm: fix palette alpha

Signed-off-by: Marton Balint <cus@passwd.hu>
pull/298/head
Marton Balint 7 years ago
parent c60a824ee8
commit e894d958fc
  1. 2
      libavcodec/anm.c

@ -54,7 +54,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
bytestream2_skipu(&s->gb, 16 * 8); bytestream2_skipu(&s->gb, 16 * 8);
for (i = 0; i < 256; i++) 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; return 0;
} }

Loading…
Cancel
Save