1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +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: default:
return AVERROR(EINVAL); return AVERROR(EINVAL);
} }
pal[i] = b + (g<<8) + (r<<16); pal[i] = b + (g<<8) + (r<<16) + (0xFF<<24);
} }
return 0; return 0;