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:
30cdfb4
)
Set an opaque alpha value when decoding rgba ffv1.
author
Thad Ward
<coderjoe69@yahoo.com>
Thu, 24 Jun 2010 15:22:33 +0000
(15:22 +0000)
committer
Benoit Fouet
<benoit.fouet@free.fr>
Thu, 24 Jun 2010 15:22:33 +0000
(15:22 +0000)
Patch by Thad Ward coderjoe69¤yahoo°com
Originally committed as revision 23757 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ffv1.c
patch
|
blob
|
history
diff --git
a/libavcodec/ffv1.c
b/libavcodec/ffv1.c
index
12056e1
..
7034caa
100644
(file)
--- a/
libavcodec/ffv1.c
+++ b/
libavcodec/ffv1.c
@@
-957,7
+957,7
@@
static void decode_rgb_frame(FFV1Context *s, uint32_t *src, int w, int h, int st
b += g;
r += g;
b += g;
r += g;
- src[x + stride*y]= b + (g<<8) + (r<<16);
+ src[x + stride*y]= b + (g<<8) + (r<<16)
+ (0xFF<<24)
;
}
}
}
}
}
}