diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-12-23 11:43:29 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-05-25 08:33:15 +0200 |
commit | 4d8c28deab2488579f585406110b1be790896e59 (patch) | |
tree | a0fdc1673efe866ef19f994fb5f2f47decdc95da | |
parent | e0d01dc7d7fc3ce4c23f286a10870e9599c8b8b9 (diff) | |
download | ffmpeg-4d8c28deab2488579f585406110b1be790896e59.tar.gz |
imgutils: make systematic palette opaque.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-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 a8b4d2a7f7..813724bea7 100644 --- a/libavutil/imgutils.c +++ b/libavutil/imgutils.c @@ -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; |