aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2009-08-30 10:54:16 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2009-08-30 10:54:16 +0000
commit1369582777bcfd41308225f6f119a75e4a391ddf (patch)
tree8a809c5a17733ada3fe14a5b8b405d4a6c87c169 /libavcodec
parent23638d877842788af7ae75d5b1c9d8cf85715f09 (diff)
downloadffmpeg-1369582777bcfd41308225f6f119a75e4a391ddf.tar.gz
Convert ZERO8x2 macro into inline function
Originally committed as revision 19746 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/rv34.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c
index 821a7f67b5..0c2a4cf464 100644
--- a/libavcodec/rv34.c
+++ b/libavcodec/rv34.c
@@ -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] = {