[vlc-commits] blend: fix Win32 warning; RGB is a system macro
Rémi Denis-Courmont
git at videolan.org
Fri Jan 27 22:31:54 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jan 27 22:55:42 2012 +0200| [31c91f0a8f61ddb0b30cc35c42feec0ef3abd1e4] | committer: Rémi Denis-Courmont
blend: fix Win32 warning; RGB is a system macro
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=31c91f0a8f61ddb0b30cc35c42feec0ef3abd1e4
---
modules/video_filter/blend.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/video_filter/blend.cpp b/modules/video_filter/blend.cpp
index ea5cd50..6c05d68 100644
--- a/modules/video_filter/blend.cpp
+++ b/modules/video_filter/blend.cpp
@@ -528,6 +528,8 @@ static const struct {
vlc_fourcc_t src;
blend_function_t blend;
} blends[] = {
+#undef RGB
+#undef YUV
#define RGB(csp, picture, cvt) \
{ csp, VLC_CODEC_YUVA, Blend<picture, CPictureYUVA, compose<cvt, convertYuv8ToRgb> > }, \
{ csp, VLC_CODEC_RGBA, Blend<picture, CPictureRGBA, compose<cvt, convertNone> > }, \
More information about the vlc-commits
mailing list