Commit 15cb452e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Xwd: fix 32-bits RGB chroma

parent 98825391
......@@ -112,7 +112,7 @@ static picture_t *Decode (decoder_t *dec, block_t **pp)
break;
case 32:
if (ntohl(hdr->bits_per_pixel) == 32)
chroma = VLC_CODEC_RGBA;
chroma = VLC_CODEC_ARGB;
break;
}
/* TODO: check image endianess, set RGB mask */
......
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