diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c index 6e97085a76..3847c53aec 100644 --- a/libavutil/imgutils.c +++ b/libavutil/imgutils.c @@ -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;