2018-04-24 21:04 GMT+02:00, Marton Balint <c...@passwd.hu>:
> Signed-off-by: Marton Balint <c...@passwd.hu>
> ---
>  libavcodec/anm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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);

This is also ok just by looking at our samples.

Thank you, Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to