[Ffmpeg-cvslog] r7948 - trunk/libavutil/common.h

michael subversion
Mon Feb 12 15:25:48 CET 2007


Author: michael
Date: Mon Feb 12 15:25:48 2007
New Revision: 7948

Modified:
   trunk/libavutil/common.h

Log:
slightly improve *_TIMER


Modified: trunk/libavutil/common.h
==============================================================================
--- trunk/libavutil/common.h	(original)
+++ trunk/libavutil/common.h	Mon Feb 12 15:25:48 2007
@@ -314,7 +314,7 @@
   static uint64_t tsum=0;\
   static int tcount=0;\
   static int tskip_count=0;\
-  if(tcount<2 || tend - tstart < 8*tsum/tcount){\
+  if(tcount<2 || tend - tstart < FFMAX(8*tsum/tcount, 2000)){\
       tsum+= tend - tstart;\
       tcount++;\
   }else\




More information about the ffmpeg-cvslog mailing list