imgutils: make systematic palette opaque.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
Carl Eugen Hoyos 2011-12-23 11:43:29 +01:00 committed by Anton Khirnov
parent e0d01dc7d7
commit 4d8c28deab

View File

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