[vlc-devel] [PATCH 03/27] modules/video_filter: removed usage of reserved identifier
Filip Roséen
filip at atch.se
Mon Feb 22 01:12:44 CET 2016
* renamed macro `_STRING` to `STRING_EXPAND`, making it more readable
as well as standard compliant.
---
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,
--
2.7.1
More information about the vlc-devel
mailing list