diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-12-23 11:43:29 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-12-23 11:43:29 +0100 |
commit | c25c7ba87c56917f2411bb70cc2d73a795bdd66d (patch) | |
tree | 242d809cb3e3a9e3956cdbf3312dd4ac81aa80d5 | |
parent | 8e88145d0b43a4572c1c13431c4f7ba644547c80 (diff) | |
download | ffmpeg-c25c7ba87c56917f2411bb70cc2d73a795bdd66d.tar.gz |
Make systematic palette opaque.
-rw-r--r-- | libavutil/imgutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |