[vlc-commits] grain video filter: removed usage of reserved identifier
Filip Roséen
git at videolan.org
Mon Feb 22 11:59:33 CET 2016
vlc | branch: master | Filip Roséen <filip at atch.se> | Mon Feb 22 01:12:44 2016 +0100| [1d81f61a9b29500c0c16e80b9ca2bd5904af2d68] | committer: Jean-Baptiste Kempf
grain video filter: removed usage of reserved identifier
* renamed macro `_STRING` to `STRING_EXPAND`, making it more readable
as well as standard compliant.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1d81f61a9b29500c0c16e80b9ca2bd5904af2d68
---
modules/video_filter/grain.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_filter/grain.c b/modules/video_filter/grain.c
index f3102bd..b0a025d 100644
--- a/modules/video_filter/grain.c
+++ b/modules/video_filter/grain.c
@@ -154,8 +154,8 @@ static void BlockBlendC(uint8_t *dst, size_t dst_pitch,
}
#ifdef CAN_COMPILE_SSE2
-#define _STRING(x) #x
-#define STRING(x) _STRING(x)
+#define STRING_EXPAND(x) #x
+#define STRING(x) STRING_EXPAND(x)
VLC_SSE
static void BlockBlendSse2(uint8_t *dst, size_t dst_pitch,
const uint8_t *src, size_t src_pitch,
More information about the vlc-commits
mailing list