aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-12-23 11:43:29 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-12-23 11:43:29 +0100
commitc25c7ba87c56917f2411bb70cc2d73a795bdd66d (patch)
tree242d809cb3e3a9e3956cdbf3312dd4ac81aa80d5
parent8e88145d0b43a4572c1c13431c4f7ba644547c80 (diff)
downloadffmpeg-c25c7ba87c56917f2411bb70cc2d73a795bdd66d.tar.gz
Make systematic palette opaque.
-rw-r--r--libavutil/imgutils.c2
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;