From 0187e9030ada09d0f3de63b43c4f470a46a51758 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 26 Jul 2004 15:52:55 +0000 Subject: [PATCH] TIMER dummies for non-x86 Originally committed as revision 3343 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/common.h b/libavcodec/common.h index 22947916d9..3ac8b4f82b 100644 --- a/libavcodec/common.h +++ b/libavcodec/common.h @@ -1281,6 +1281,9 @@ tend= rdtsc();\ av_log(NULL, AV_LOG_DEBUG, "%Ld dezicycles in %s, %d runs, %d skips\n", tsum*10/tcount, id, tcount, tskip_count);\ }\ } +#else +#define START_TIMER +#define STOP_TIMER(id) {} #endif #define CLAMP_TO_8BIT(d) ((d > 0xff) ? 0xff : (d < 0) ? 0 : d)