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

Make systematic palette opaque.

This commit is contained in:
Carl Eugen Hoyos 2011-12-23 11:43:29 +01:00
parent 8e88145d0b
commit c25c7ba87c

View File

@ -175,7 +175,7 @@ int ff_set_systematic_pal2(uint32_t pal[256], enum PixelFormat pix_fmt)
default:
return AVERROR(EINVAL);
}
pal[i] = b + (g<<8) + (r<<16);
pal[i] = b + (g<<8) + (r<<16) + (0xFF<<24);
}
return 0;