projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0f7de3
)
avcodec/webp: fix default palette color 0xff000000 -> 0x00000000
author
Pascal Massimino
<pascal.massimino@gmail.com>
Mon, 22 Sep 2014 21:48:57 +0000
(14:48 -0700)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 23 Sep 2014 15:15:20 +0000
(17:15 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/webp.c
patch
|
blob
|
history
diff --git
a/libavcodec/webp.c
b/libavcodec/webp.c
index
66c2d57
..
274708d
100644
(file)
--- a/
libavcodec/webp.c
+++ b/
libavcodec/webp.c
@@
-1066,7
+1066,7
@@
static int apply_color_indexing_transform(WebPContext *s)
p = GET_PIXEL(img->frame, x, y);
i = p[2];
if (i >= pal->frame->width) {
- AV_WB32(p, 0x
FF
000000);
+ AV_WB32(p, 0x
00
000000);
} else {
const uint8_t *pi = GET_PIXEL(pal->frame, i, 0);
AV_COPY32(p, pi);