projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23638d8
)
Convert ZERO8x2 macro into inline function
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Sun, 30 Aug 2009 10:54:16 +0000
(10:54 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Sun, 30 Aug 2009 10:54:16 +0000
(10:54 +0000)
Originally committed as revision 19746 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/rv34.c
patch
|
blob
|
history
diff --git
a/libavcodec/rv34.c
b/libavcodec/rv34.c
index
821a7f6
..
0c2a4cf
100644
(file)
--- 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] = {