Commit 8012b512 authored by michael's avatar michael

slightly improve *_TIMER


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7948 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ca866907
......@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment