git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0d01dc
)
imgutils: make systematic palette opaque.
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Fri, 23 Dec 2011 10:43:29 +0000
(11:43 +0100)
committer
Anton Khirnov
<anton@khirnov.net>
Sun, 25 May 2014 06:33:15 +0000
(08:33 +0200)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavutil/imgutils.c
patch
|
blob
|
history
diff --git
a/libavutil/imgutils.c
b/libavutil/imgutils.c
index
a8b4d2a
..
813724b
100644
(file)
--- 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;