This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
slightly improve *_TIMER
Originally committed as revision 7948 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer
18 years ago
parent
67053c3093
commit
9b0dfb27ab
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavutil/common.h
+ 1
- 1
libavutil/common.h
View File
@@ -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\
Write
Preview
Loading…
Cancel
Save