aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-07-26 15:52:55 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-07-26 15:52:55 +0000
commit0187e9030ada09d0f3de63b43c4f470a46a51758 (patch)
tree31564ddc07731dc0c45842024f885af32e39add6
parentde890c9bd1ae0eb5ce4c5c55d64cdc8cf1acc13f (diff)
downloadffmpeg-0187e9030ada09d0f3de63b43c4f470a46a51758.tar.gz
TIMER dummies for non-x86
Originally committed as revision 3343 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/common.h3
1 files changed, 3 insertions, 0 deletions
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)