1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Set QuickDraw palette opaque.

This commit is contained in:
Carl Eugen Hoyos 2011-11-12 20:15:21 +01:00
parent 3bf54ab565
commit 9f9a1f424e

View File

@ -90,7 +90,7 @@ static int decode_frame(AVCodecContext *avctx,
buf++;
b = *buf++;
buf++;
pal[idx] = (r << 16) | (g << 8) | b;
pal[idx] = 0xFF << 24 | r << 16 | g << 8 | b;
}
p->palette_has_changed = 1;