diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-02-17 21:33:14 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-02-17 21:33:14 +0100 |
commit | 44f5b2621284ac7fbde6a0ce6dbfbb29572dfece (patch) | |
tree | 80c35834c7cb5a7e513e4a1681c43fadfce378e3 /libavcodec | |
parent | d493170ec9b2e7f25b9d29ef8614df0b6b5628ec (diff) | |
download | ffmpeg-44f5b2621284ac7fbde6a0ce6dbfbb29572dfece.tar.gz |
Make CDXL palette opaque.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/cdxl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cdxl.c b/libavcodec/cdxl.c index a53a001ea4..8c9bea9768 100644 --- a/libavcodec/cdxl.c +++ b/libavcodec/cdxl.c @@ -56,7 +56,7 @@ static void import_palette(CDXLVideoContext *c, uint32_t *new_palette) unsigned r = ((rgb >> 8) & 0xF) * 0x11; unsigned g = ((rgb >> 4) & 0xF) * 0x11; unsigned b = (rgb & 0xF) * 0x11; - AV_WN32(&new_palette[i], (r << 16) | (g << 8) | b); + AV_WN32(&new_palette[i], (0xFFU << 24) | (r << 16) | (g << 8) | b); } } |