1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-06 08:08:58 +02:00

Make CDXL palette opaque.

This commit is contained in:
Carl Eugen Hoyos 2012-02-17 21:33:14 +01:00
parent d493170ec9
commit 44f5b26212

View File

@ -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);
}
}