Commit 75804339 authored by kostya's avatar kostya

Convert ZERO8x2 macro into inline function

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19746 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f6c2f893
......@@ -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] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment