git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e611a0
)
remove a division from STOP_TIMER
author
Loren Merritt
<lorenm@u.washington.edu>
Thu, 21 Sep 2006 18:00:05 +0000
(18:00 +0000)
committer
Loren Merritt
<lorenm@u.washington.edu>
Thu, 21 Sep 2006 18:00:05 +0000
(18:00 +0000)
Originally committed as revision 6315 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/common.h
patch
|
blob
|
history
diff --git
a/libavutil/common.h
b/libavutil/common.h
index
31142b9
..
bd92dda
100644
(file)
--- a/
libavutil/common.h
+++ b/
libavutil/common.h
@@
-386,7
+386,7
@@
tend= read_time();\
tcount++;\
}else\
tskip_count++;\
- if(
256*256*256*64%(tcount+tskip_count
)==0){\
+ if(
((tcount+tskip_count)&(tcount+tskip_count-1)
)==0){\
av_log(NULL, AV_LOG_DEBUG, "%"PRIu64" dezicycles in %s, %d runs, %d skips\n", tsum*10/tcount, id, tcount, tskip_count);\
}\
}