提交 9b0dfb27 编写于 作者: M Michael Niedermayer

slightly improve *_TIMER

Originally committed as revision 7948 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 67053c30
......@@ -314,7 +314,7 @@ tend= read_time();\
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\
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册