Mercurial > libavutil.hg
changeset 112:aedf5cf3de93 libavutil
remove a division from STOP_TIMER
author | lorenm |
---|---|
date | Thu, 21 Sep 2006 18:00:05 +0000 |
parents | 6199da3bf29e |
children | 8fc54918226e |
files | common.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/common.h Thu Sep 21 17:48:45 2006 +0000 +++ b/common.h Thu Sep 21 18:00:05 2006 +0000 @@ -386,7 +386,7 @@ 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);\ }\ }