[FFmpeg-cvslog] r19746 - trunk/libavcodec/rv34.c

kostya subversion
Sun Aug 30 12:54:17 CEST 2009


Author: kostya
Date: Sun Aug 30 12:54:16 2009
New Revision: 19746

Log:
Convert ZERO8x2 macro into inline function

Modified:
   trunk/libavcodec/rv34.c

Modified: trunk/libavcodec/rv34.c
==============================================================================
--- trunk/libavcodec/rv34.c	Sun Aug 30 10:29:11 2009	(r19745)
+++ trunk/libavcodec/rv34.c	Sun Aug 30 12:54:16 2009	(r19746)
@@ -37,9 +37,11 @@
 
 //#define DEBUG
 
-#define ZERO8x2(dst, stride) \
-    fill_rectangle(dst,                 1, 2, stride, 0, 4); \
-    fill_rectangle(((uint8_t*)(dst))+4, 1, 2, stride, 0, 4); \
+static inline void ZERO8x2(void* dst, int stride)
+{
+    fill_rectangle(dst,                 1, 2, stride, 0, 4);
+    fill_rectangle(((uint8_t*)(dst))+4, 1, 2, stride, 0, 4);
+}
 
 /** translation of RV30/40 macroblock types to lavc ones */
 static const int rv34_mb_type_to_lavc[12] = {



More information about the ffmpeg-cvslog mailing list