TIMER dummies for non-x86
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 26 Jul 2004 15:52:55 +0000 (15:52 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 26 Jul 2004 15:52:55 +0000 (15:52 +0000)
Originally committed as revision 3343 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/common.h

index 2294791..3ac8b4f 100644 (file)
@@ -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)